public class PersistentFactory extends Object
Persistent object for a given JPA entity for
 interfacing with the primary key and version of the entity.
 
 This utility only treats primary keys and fields that are annotated with @Id
 and @Version. In case ORM files are used for the definition of primary key
 and or version, then those fields are ignored.| Modifier and Type | Class and Description | 
|---|---|
| static class  | PersistentFactory.EntityObjectAccessor | 
| Constructor and Description | 
|---|
| PersistentFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Persistent | create(Object aEntity)Creates the  Persistentwrapper for interfacing with primary key
 and version of the entity. | 
| static org.wamblee.persistence.PersistentFactory.EntityAccessor | createEntityAccessor(Class aClass)Create the entity accessor for a given class or returns a cached instance
 if one already exists. | 
public static org.wamblee.persistence.PersistentFactory.EntityAccessor createEntityAccessor(Class aClass)
aClass - Class.public static Persistent create(Object aEntity)
Persistent wrapper for interfacing with primary key
 and version of the entity.aEntity - Entity to use.Copyright © 2025. All rights reserved.