|
||||||||||
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 | |
---|---|
java.lang.Object |
Interceptor.getEntity(java.lang.String entityName,
java.io.Serializable id)
Get a fully loaded entity instance that is cached externally |
java.lang.String |
Interceptor.getEntityName(java.lang.Object object)
Get the entity name for a persistent or transient instance |
java.lang.Object |
Interceptor.instantiate(java.lang.String entityName,
EntityMode entityMode,
java.io.Serializable id)
Instantiate the entity class. |
void |
Interceptor.onCollectionRecreate(java.lang.Object collection,
java.io.Serializable key)
Called before a collection is (re)created. |
void |
EmptyInterceptor.onCollectionRecreate(java.lang.Object collection,
java.io.Serializable key)
|
void |
Interceptor.onCollectionRemove(java.lang.Object collection,
java.io.Serializable key)
Called before a collection is deleted. |
void |
EmptyInterceptor.onCollectionRemove(java.lang.Object collection,
java.io.Serializable key)
|
void |
Interceptor.onCollectionUpdate(java.lang.Object collection,
java.io.Serializable key)
Called before a collection is updated. |
void |
EmptyInterceptor.onCollectionUpdate(java.lang.Object collection,
java.io.Serializable key)
|
void |
Interceptor.onDelete(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
Type[] types)
Called before an object is deleted. |
boolean |
Interceptor.onFlushDirty(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] currentState,
java.lang.Object[] previousState,
java.lang.String[] propertyNames,
Type[] types)
Called when an object is detected to be dirty, during a flush. |
boolean |
Interceptor.onLoad(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
Type[] types)
Called just before an object is initialized. |
boolean |
Interceptor.onSave(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
Type[] types)
Called before an object is saved. |
void |
Interceptor.postFlush(java.util.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(java.util.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 |