|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TidePersistenceAdapter
Responsible for persisting changes in the persistence context
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
Object find(Class<?> entityClass,
Serializable id)
entityClass - class of the looked up entityid - entity identifier
void throwOptimisticLockException(Object entity)
entity - entity instance loaded from the database
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||