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 ofSession
andStatelessSession
, 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 Object
Interceptor. getEntity(String entityName, Serializable id)
Deprecated.default Object
Interceptor. getEntity(String entityName, Object id)
Get a fully loaded entity instance that is cached externally.default String
Interceptor. getEntityName(Object object)
Get the entity name for a persistent or transient instance.default Object
Interceptor. instantiate(String entityName, RepresentationMode representationMode, Object id)
Instantiate the entity.default Object
Interceptor. instantiate(String entityName, EntityRepresentationStrategy representationStrategy, Object id)
Instantiate the entity.default void
Interceptor. onCollectionRecreate(Object collection, Serializable key)
Deprecated.default void
Interceptor. onCollectionRecreate(Object collection, Object key)
Called before a collection is (re)created.default void
Interceptor. onCollectionRemove(Object collection, Serializable key)
Deprecated.default void
Interceptor. onCollectionRemove(Object collection, Object key)
Called before a collection is deleted.default void
Interceptor. onCollectionUpdate(Object collection, Serializable key)
Deprecated.default void
Interceptor. onCollectionUpdate(Object collection, Object key)
Called before a collection is updated.default void
Interceptor. onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
Deprecated.default void
Interceptor. onDelete(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)
Called before an object is deleted.default boolean
Interceptor. onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
default boolean
Interceptor. 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 boolean
Interceptor. onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
Deprecated.default boolean
Interceptor. onLoad(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)
Called just before an object is initialized.default boolean
Interceptor. onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
Deprecated.default boolean
Interceptor. onSave(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)
Called before an object is saved.default void
Interceptor. 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 void
Interceptor. 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 boolean
Lifecycle. onDelete(Session s)
Called when an entity is deleted.default boolean
Lifecycle. onSave(Session s)
Called when an entity is saved.default boolean
Lifecycle. onUpdate(Session s)
Called when an entity is passed toSession.update()
.
-