public interface TidePersistenceAdapter
| Modifier and Type | Method and Description |
|---|---|
Object |
find(Class<?> entityClass,
Serializable id)
Find an entity in the persistence context
Note : MUST NOT return a proxy object but an actual class instance
|
void |
throwOptimisticLockException(Object entity)
Throw an optimistic locking error
|
Object find(Class<?> entityClass, Serializable id)
entityClass - class of the looked up entityid - entity identifiervoid throwOptimisticLockException(Object entity)
entity - entity instance loaded from the database