Uses of Class
org.hibernate.CallbackException
-
Packages that use CallbackException Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.classic This package historically provided backward-compatibility with Hibernate 2.1 APIs which were deprecated in Hibernate 3. -
-
Uses of CallbackException in org.hibernate
Methods in org.hibernate that throw CallbackException Modifier and Type Method Description default ObjectInterceptor. getEntity(String entityName, Serializable id)Deprecated.default ObjectInterceptor. getEntity(String entityName, Object id)Get a fully loaded entity instance that is cached externally.default StringInterceptor. getEntityName(Object object)Get the entity name for a persistent or transient instance.default ObjectInterceptor. instantiate(String entityName, RepresentationMode representationMode, Object id)Instantiate the entity.default ObjectInterceptor. instantiate(String entityName, EntityRepresentationStrategy representationStrategy, Object id)Instantiate the entity.default voidInterceptor. onCollectionRecreate(Object collection, Serializable key)Deprecated.default voidInterceptor. onCollectionRecreate(Object collection, Object key)Called before a collection is (re)created.default voidInterceptor. onCollectionRemove(Object collection, Serializable key)Deprecated.default voidInterceptor. onCollectionRemove(Object collection, Object key)Called before a collection is deleted.default voidInterceptor. onCollectionUpdate(Object collection, Serializable key)Deprecated.default voidInterceptor. onCollectionUpdate(Object collection, Object key)Called before a collection is updated.default voidInterceptor. onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default voidInterceptor. onDelete(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default booleanInterceptor. onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)default booleanInterceptor. onFlushDirty(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)Called when an object is detected to be dirty, during a flush.default booleanInterceptor. onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default booleanInterceptor. onLoad(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called just before an object is initialized.default booleanInterceptor. onPersist(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called before an object is made persistent by a stateful session.default voidInterceptor. onRemove(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called before an object is removed by a stateful session.default booleanInterceptor. onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default booleanInterceptor. onSave(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)default voidInterceptor. postFlush(Iterator<Object> entities)Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.default voidInterceptor. preFlush(Iterator<Object> entities)Called before a flush. -
Uses of CallbackException in org.hibernate.classic
Methods in org.hibernate.classic that throw CallbackException Modifier and Type Method Description default booleanLifecycle. onDelete(Session s)Called when an entity is deleted.default booleanLifecycle. onSave(Session s)Called when an entity is saved.default booleanLifecycle. onUpdate(Session s)Called when an entity is passed toSession.update().
-