Uses of Class
org.hibernate.CallbackException
Packages that use CallbackException
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.-
Uses of CallbackException in org.hibernate
Methods in org.hibernate that throw CallbackExceptionModifier and TypeMethodDescriptiondefault Object
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, Object key) Called before a collection is (re)created.default void
Interceptor.onCollectionRemove
(Object collection, Object key) Called before a collection is deleted.default void
Interceptor.onCollectionUpdate
(Object collection, Object key) Called before a collection is updated.default void
Interceptor.onDelete
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Deprecated.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
Called just before an object is initialized.default boolean
Interceptor.onPersist
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Called before an object is made persistent by a stateful session.default void
Interceptor.onRemove
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Called before an object is removed by a stateful session.default boolean
default void
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.default void
Called before a flush.
Interceptor.onRemove(Object, Object, Object[], String[], Type[])