|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CallbackException | |
---|---|
org.hibernate | This package defines the central Hibernate APIs. |
org.hibernate.classic | This package implements backward-compatibility with Hibernate 2.1 APIs now deprecated in Hibernate3. |
Uses of CallbackException in org.hibernate |
---|
Methods in org.hibernate that throw CallbackException | |
---|---|
Object |
Interceptor.getEntity(String entityName,
Serializable id)
Get a fully loaded entity instance that is cached externally |
String |
Interceptor.getEntityName(Object object)
Get the entity name for a persistent or transient instance |
Object |
Interceptor.instantiate(String entityName,
EntityMode entityMode,
Serializable id)
Instantiate the entity class. |
void |
Interceptor.onCollectionRecreate(Object collection,
Serializable key)
Called before a collection is (re)created. |
void |
EmptyInterceptor.onCollectionRecreate(Object collection,
Serializable key)
|
void |
Interceptor.onCollectionRemove(Object collection,
Serializable key)
Called before a collection is deleted. |
void |
EmptyInterceptor.onCollectionRemove(Object collection,
Serializable key)
|
void |
Interceptor.onCollectionUpdate(Object collection,
Serializable key)
Called before a collection is updated. |
void |
EmptyInterceptor.onCollectionUpdate(Object collection,
Serializable key)
|
void |
Interceptor.onDelete(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called before an object is deleted. |
boolean |
Interceptor.onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types)
Called when an object is detected to be dirty, during a flush. |
boolean |
Interceptor.onLoad(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called just before an object is initialized. |
boolean |
Interceptor.onSave(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called before an object is saved. |
void |
Interceptor.postFlush(Iterator entities)
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database. |
void |
Interceptor.preFlush(Iterator entities)
Called before a flush |
Uses of CallbackException in org.hibernate.classic |
---|
Methods in org.hibernate.classic that throw CallbackException | |
---|---|
boolean |
Lifecycle.onDelete(Session s)
Called when an entity is deleted. |
boolean |
Lifecycle.onSave(Session s)
Called when an entity is saved. |
boolean |
Lifecycle.onUpdate(Session s)
Called when an entity is passed to Session.update(). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |