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