站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Uses of Class org.hibernate.CallbackException (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


Uses of Class
org.hibernate.CallbackException

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

Uses of CallbackException in org.hibernate.classic
 

Methods in org.hibernate.classic that throw CallbackException
 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().
 boolean Lifecycle.onDelete(Session s)
          Called when an entity is deleted.