Package | Description |
---|---|
org.wamblee.persistence |
Utilities for (JPA) persistence.
|
org.wamblee.persistence.hibernate |
This package provides support utilities for persistence with hibernate.
|
Modifier and Type | Class and Description |
---|---|
static class |
PersistentFactory.EntityObjectAccessor |
Modifier and Type | Method and Description |
---|---|
static Persistent |
PersistentFactory.create(Object aEntity)
Creates the
Persistent wrapper for interfacing with primary key
and version of the entity. |
Modifier and Type | Method and Description |
---|---|
static void |
HibernateSupport.merge(org.springframework.orm.hibernate3.HibernateTemplate aTemplate,
Persistent aPersistent)
As
HibernateSupport.merge(Persistent) but with a given template. |
void |
HibernateSupport.merge(Persistent aPersistent)
Performes a hibernate
Session.merge() and updates the object
with the correct primary key and version. |
static void |
HibernateSupport.processPersistent(Persistent aPersistent,
Persistent aMerged,
List<org.wamblee.persistence.hibernate.HibernateSupport.ObjectElem> aProcessed)
Copies primary keys and version from the result of the merged to the
object that was passed to the merge operation.
|
Copyright © 2022. All rights reserved.