Uses of Class
org.hibernate.HibernateException
Packages that use HibernateException
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.This SPI package defines an abstraction over the notion of an "action"
which is scheduled for asynchronous execution by the event listeners.
This package contains the interfaces that make up the bootstrap API
for Hibernate.
Support for integrating Jakarta Bean Validation.
This API allows intervention by generic code in the process of determining the names of
database objects (tables, columns, and constraints).
Overall, this module is responsible for taking
managed-resources and
building the
hibernate-models
model (ClassDetails, etc.)
to ultimately be bound into Hibernate's boot-time model.Support for processing mapping XML files, ultimately creating/updating
ClassDetails, FieldDetails
and annotation references based on the XML.
First performs some pre-processing
which aggregates information across all XML mappings
Next performs XML processing which
applies metadata-complete mappings and collects overlay/override XML for later application.
The class loading service SPI.
Defines actual contract used for
strategy selection.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
Package defining bytecode code enhancement (instrumentation) support.
Package defining bytecode code enhancement (instrumentation) support.
This package defines the API of the second-level cache service.
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
Defines contracts for transactional and concurrent access to cached
entity and
collection data.
This package defines formats for disassembled state kept in the second level cache.
This package defines APIs for configuring Hibernate.
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
SPI-level contracts around "current session" and "current tenant" support.
Support for
Dialect
-specific locking strategies.Defines contracts for JDBC batching support.
Defines SPI contracts for obtaining JDBC
Connection
s from a
provider implemented as a service.Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.
Support for JNDI within Hibernate
Support for dealing with parameters of native queries.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An SPI for integrating with container-provided implementations of JTA.
An SPI for the event listener registration service.
Defines the event types and event listener interfaces for
events produced by the stateful
Session
.Defines certain very important flavors of
JDBCException
,
along with an SPI for interpreting product-specific SQLException
s
arising from a JDBC driver into something more uniform and meaningful.Implements and extends the JPA-defined entity graph API.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
A small API allowing the client of a Hibernate session to interact directly
with JDBC, using the same connection and transaction obtained by the session.
This package defines functionality for processing JDBC result sets
and returning complex graphs of persistent objects.
This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
An SPI for integrating custom entity and collection persisters.
Defines support for executing database stored procedures and functions and accessing their outputs.
An SPI abstracting how persistent attributes of an entity or embeddable type
are accessed by Hibernate.
This package defines a framework for lazy-initializing entity proxies.
Everything related to HQL/JPQL, native SQL, and criteria queries.
Package defining support for HQL, including JPQL as a subset of HQL.
Support for named queries
Support for defining result set mappings
used in
NativeQuery
, ProcedureCall
,
and StoredProcedureQuery
.Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
This package defines a semantic model of HQL queries.
Package defining support for
SqmFunctionDescriptor
handling.Package for the translation of SQM into SQL AST
Nodes representing expressions in the SQM tree.
Defines the resource-level transaction capabilities of Hibernate, centered
around the
TransactionCoordinator
contract.Extended SPI contracts for the resource-level transaction capabilities of Hibernate.
Defines support for dealing with results returned from database via JDBC.
Defines a framework for pluggable services,
allowing for customization of key components of Hibernate, and abstraction of these
components as SPI interfaces.
Defines an SPI for integrating pluggable services.
Package defining a SQL AST for use in generation of SQL.
AST nodes representing root tables and joins in a SQL tree.
Support for execution of SQL statements via JDBC.
Package for processing JDBC
ResultSet
s into hydrated domain model graphs
based on a "load plan" defined by a "domain result graph", that is, one or more
DomainResult
nodes with zero or more
Fetch
nodes.Defines an SPI for schema information extraction from the database via JDBC.
An SPI for tooling related to DDL generation, export, migration, and validation.
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.Integrates a range of types defined by the JDK with the type system
of Hibernate.
SPIs related to
JavaType
.An API for user-defined custom types which extend the set of built-in
types defined in
org.hibernate.type
.-
Uses of HibernateException in org.hibernate
Subclasses of HibernateException in org.hibernateModifier and TypeClassDescriptionclass
An exception that occurs while reading mapping annotations.class
Deprecated.class
Raised whenever a duplicate for a certain type occurs, such as a duplicate class, table, or property name.class
Marks a group of exceptions that generally indicate an internal Hibernate error or bug.class
Thrown if Hibernate can't instantiate a class at runtime.class
Thrown when a mapping is found to be invalid.class
Wraps aSQLException
arising from the JDBC driver.class
Indicates an attempt to access unfetched data outside the context of an open statefulSession
.class
An exception that occurs while reading mapping sources, either XML or annotations, usually as a result of something screwy in the O/R mappings.class
This exception is thrown when an operation would break session-scoped identity.class
Thrown when the application callsQuery.getSingleResult()
orQuery.uniqueResult()
and the query returns more than one row from the database.class
Thrown when the user tries to do something illegal with a deleted object.class
Thrown whenSession.find(Class, Object)
fails to select a row with the given primary key (identifier value).class
Thrown when the user passes a persistent instance to aSession
method that expects a transient instance.class
Thrown when a pessimistic locking conflict occurs.class
A problem occurred accessing a property of an instance of a persistent class by reflection, or via enhanced entities.class
Indicates that an expected getter or setter method could not be found on a class.class
Thrown when anIllegalArgumentException
occurs calling a property setter method.class
Thrown when the (illegal) value of a property can not be persisted.class
A problem occurred translating a Hibernate query to SQL due to illegal query syntax, an operation which is not well-typed, an unresolvable reference to an entity or attribute, an unknown named query, or any similar problem.class
Indicates a problem with the runtime arguments bound to query parameters.class
AJDBCException
indicating that a database query timed out on the database.class
Indicates an attempt was made to use a closed resource, such as a closedSession
orSessionFactory
.class
Thrown when the user calls a method of aSession
that is in an inappropriate state for the given call (for example, the session is closed or disconnected).class
A specializedStaleStateException
that carries information about the particular entity instance that was the source of the failure.class
Thrown when a version number or timestamp check failed, indicating that theSession
contained stale data (when using long transactions with versioning).class
Indicates that a transaction could not be begun, committed or rolled back.class
Thrown when the user passes a transient instance to aSession
method that expects a persistent instance.class
Thrown when a property cannot be persisted because it is an association with a transient unsaved entity instance.class
Used when a user provided type does not match the expected one.class
Indicates an attempt was made to refer to an unknown entity name or class.class
Indicates a request against an unknown filter name.class
Indicates a request against an unknown fetch profile name.class
Thrown when Hibernate could not resolve an object by id, especially when loading an association.class
class
Thrown when loading an entity (by identifier) results in a value that cannot be treated as the subclass type requested by the caller.Methods in org.hibernate that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
SessionFactory.close()
Destroy thisSessionFactory
and release all its resources, including caches and connection pools.void
SharedSessionContract.close()
End the session by releasing the JDBC connection and cleaning up.void
Perform work using theConnection
underlying by this session.SessionFactory.getCurrentSession()
Obtains the current session, an instance ofSession
implicitly associated with some context or scope.SessionFactory.getFilterDefinition
(String filterName) Deprecated.There is no plan to remove this operation, but its use should be avoided sinceFilterDefinition
is an SPI type, and so this operation is a layer-breaker.static void
Hibernate.initialize
(Object proxy) Force initialization of a proxy or persistent collection.SessionFactory.openSession()
Open aSession
.void
Filter.validate()
Perform validation of the filter state. -
Uses of HibernateException in org.hibernate.action.spi
Methods in org.hibernate.action.spi that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
Executable.beforeExecutions()
Called before executing any actions.void
Executable.execute()
Execute this action. -
Uses of HibernateException in org.hibernate.boot
Subclasses of HibernateException in org.hibernate.bootModifier and TypeClassDescriptionclass
Indicates a problem parsing the mapping document at a givenOrigin
.class
Indicates a problem parsing a mapping document.class
Indicates that a mapping document could not be found at a givenOrigin
.class
Specialized exception indicating that an unsupportedorm.xml
XSD version was specified -
Uses of HibernateException in org.hibernate.boot.archive.spi
Subclasses of HibernateException in org.hibernate.boot.archive.spiModifier and TypeClassDescriptionclass
Indicates a problem accessing or visiting the archive -
Uses of HibernateException in org.hibernate.boot.beanvalidation
Subclasses of HibernateException in org.hibernate.boot.beanvalidationModifier and TypeClassDescriptionclass
Indicates a problem integrating Hibernate and the Bean Validation spec. -
Uses of HibernateException in org.hibernate.boot.model.naming
Subclasses of HibernateException in org.hibernate.boot.model.namingModifier and TypeClassDescriptionclass
Indicates an attempted use of a name that was deemed illegal -
Uses of HibernateException in org.hibernate.boot.models
Subclasses of HibernateException in org.hibernate.boot.modelsModifier and TypeClassDescriptionclass
Indicates thatAccessType
could not be determinedclass
class
class
Indicates a problem resolving a member from ClassDetailsclass
Condition where an attribute indicates multiple natures -
Uses of HibernateException in org.hibernate.boot.models.xml
Subclasses of HibernateException in org.hibernate.boot.models.xmlModifier and TypeClassDescriptionclass
Indicates a problem resolving an attribute's type details - typically with dynamic models. -
Uses of HibernateException in org.hibernate.boot.registry.classloading.spi
Subclasses of HibernateException in org.hibernate.boot.registry.classloading.spiModifier and TypeClassDescriptionclass
Indicates a problem performing class loading. -
Uses of HibernateException in org.hibernate.boot.registry.selector.spi
Subclasses of HibernateException in org.hibernate.boot.registry.selector.spiModifier and TypeClassDescriptionclass
Indicates a problem performing the selection/resolution. -
Uses of HibernateException in org.hibernate.boot.spi
Subclasses of HibernateException in org.hibernate.boot.spiModifier and TypeClassDescriptionstatic class
-
Uses of HibernateException in org.hibernate.bytecode.enhance
Subclasses of HibernateException in org.hibernate.bytecode.enhanceModifier and TypeClassDescriptionclass
Indicates that the version of Hibernate used to enhance a class is different from the version being used at runtime. -
Uses of HibernateException in org.hibernate.bytecode.enhance.spi
Subclasses of HibernateException in org.hibernate.bytecode.enhance.spiModifier and TypeClassDescriptionclass
An exception indicating some kind of problem performing bytecode enhancement. -
Uses of HibernateException in org.hibernate.bytecode.spi
Subclasses of HibernateException in org.hibernate.bytecode.spiModifier and TypeClassDescriptionclass
Indicates a condition where an instrumented/enhanced class was expected, but the class was not instrumented/enhanced. -
Uses of HibernateException in org.hibernate.cache
Subclasses of HibernateException in org.hibernate.cacheModifier and TypeClassDescriptionclass
Something went wrong in the cache.class
Indicates a condition where a second-level cache implementation was expected to be available, but none was found on the classpath. -
Uses of HibernateException in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi that throw HibernateExceptionModifier and TypeMethodDescriptiondefault void
CacheImplementor.evictQueries()
Deprecated.only because it's currently never calledList<?>
QueryResultsCache.get
(QueryKey key, String[] spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.List<?>
QueryResultsCache.get
(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.boolean
QueryResultsCache.put
(QueryKey key, List<?> result, SharedSessionContractImplementor session) Store a result list of a query with the givenQueryKey
in the query result cache. -
Uses of HibernateException in org.hibernate.cache.spi.access
Subclasses of HibernateException in org.hibernate.cache.spi.accessModifier and TypeClassDescriptionclass
Indicates that an unknown AccessType external name was encountered or that an AccessType was requested that the underlying cache provider does not support. -
Uses of HibernateException in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry that throw HibernateExceptionModifier and TypeMethodDescriptionObject[]
StandardCacheEntryImpl.assemble
(Object instance, Object id, EntityPersister persister, Interceptor interceptor, SharedSessionContractImplementor session) Assemble the previously disassembled state represented by this entry into the given entity instance.Constructors in org.hibernate.cache.spi.entry that throw HibernateExceptionModifierConstructorDescriptionStandardCacheEntryImpl
(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner) Constructs a StandardCacheEntryImpl -
Uses of HibernateException in org.hibernate.cfg
Methods in org.hibernate.cfg that throw HibernateExceptionModifier and TypeMethodDescriptionConfiguration.buildSessionFactory()
Create aSessionFactory
using the properties and mappings in this configuration.Configuration.buildSessionFactory
(ServiceRegistry serviceRegistry) Create aSessionFactory
using the properties and mappings in this configuration.Configuration.configure()
Use the mappings and properties specified in an application resource namedhibernate.cfg.xml
.Use the mappings and properties specified in the given application file.Use the mappings and properties specified in the given application resource.Use the mappings and properties specified in the given document. -
Uses of HibernateException in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
AbstractPersistentCollection.afterRowInsert
(CollectionPersister persister, Object entry, int i) void
PersistentIdentifierBag.afterRowInsert
(CollectionPersister persister, Object entry, int i) PersistentArrayHolder.disassemble
(CollectionPersister persister) PersistentList.disassemble
(CollectionPersister persister) PersistentMap.disassemble
(CollectionPersister persister) PersistentSet.disassemble
(CollectionPersister persister) boolean
PersistentArrayHolder.equalsSnapshot
(CollectionPersister persister) boolean
PersistentBag.equalsSnapshot
(CollectionPersister persister) boolean
PersistentIdentifierBag.equalsSnapshot
(CollectionPersister persister) boolean
PersistentList.equalsSnapshot
(CollectionPersister persister) boolean
PersistentMap.equalsSnapshot
(CollectionPersister persister) boolean
PersistentSet.equalsSnapshot
(CollectionPersister persister) final void
AbstractPersistentCollection.forceInitialization()
PersistentArrayHolder.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentBag.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentIdentifierBag.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentList.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentMap.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentSet.getDeletes
(CollectionPersister persister, boolean indexIsFormula) abstract Collection<E>
AbstractPersistentCollection.getOrphans
(Serializable snapshot, String entityName) protected static <E> Collection<E>
AbstractPersistentCollection.getOrphans
(Collection<E> oldElements, Collection<E> currentElements, String entityName, SharedSessionContractImplementor session) Given a collection of entity instances that used to belong to the collection, and a collection of instances that currently belong, return a collection of orphansPersistentArrayHolder.getOrphans
(Serializable snapshot, String entityName) PersistentBag.getOrphans
(Serializable snapshot, String entityName) PersistentIdentifierBag.getOrphans
(Serializable snapshot, String entityName) PersistentList.getOrphans
(Serializable snapshot, String entityName) PersistentMap.getOrphans
(Serializable snapshot, String entityName) PersistentSet.getOrphans
(Serializable snapshot, String entityName) PersistentArrayHolder.getSnapshot
(CollectionPersister persister) PersistentBag.getSnapshot
(CollectionPersister persister) PersistentIdentifierBag.getSnapshot
(CollectionPersister persister) PersistentList.getSnapshot
(CollectionPersister persister) PersistentMap.getSnapshot
(CollectionPersister persister) PersistentSet.getSnapshot
(CollectionPersister persister) void
PersistentArrayHolder.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentBag.initializeFromCache
(CollectionPersister collectionDescriptor, Object disassembled, Object owner) void
PersistentIdentifierBag.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentList.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentMap.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentSet.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) boolean
PersistentArrayHolder.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentBag.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentIdentifierBag.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentList.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentMap.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentSet.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentArrayHolder.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentIdentifierBag.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentList.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentMap.needsUpdating
(Object entry, int i, Type elemType) void
AbstractPersistentCollection.preInsert
(CollectionPersister persister) void
PersistentIdentifierBag.preInsert
(CollectionPersister persister) final boolean
AbstractPersistentCollection.setCurrentSession
(SharedSessionContractImplementor session) boolean
PersistentCollection.setCurrentSession
(SharedSessionContractImplementor session) Associate the collection with the given session.protected Serializable
PersistentSortedMap.snapshot
(BasicCollectionPersister persister) protected Serializable
PersistentSortedSet.snapshot
(BasicCollectionPersister persister) -
Uses of HibernateException in org.hibernate.context
Subclasses of HibernateException in org.hibernate.contextModifier and TypeClassDescriptionclass
Indicates that tenant identifiers did not match in cases whereCurrentTenantIdentifierResolver.validateExistingCurrentSessions()
returnstrue
and there is a mismatch found. -
Uses of HibernateException in org.hibernate.context.spi
Methods in org.hibernate.context.spi that throw HibernateExceptionModifier and TypeMethodDescriptionCurrentSessionContext.currentSession()
Retrieve the current session according to the scoping defined by this implementation. -
Uses of HibernateException in org.hibernate.dialect.lock
Subclasses of HibernateException in org.hibernate.dialect.lockModifier and TypeClassDescriptionclass
Represents an error trying to apply aLockingStrategy
to an entityclass
Represents an error trying to apply an optimisticLockingStrategy
to an entityclass
Represents an error trying to apply a pessimisticLockingStrategy
to an entityMethods in org.hibernate.dialect.lock that return HibernateExceptionModifier and TypeMethodDescriptionprotected HibernateException
AbstractSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
PessimisticReadSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
PessimisticWriteSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
SelectLockingStrategy.convertException
(Object entity, JDBCException ex) -
Uses of HibernateException in org.hibernate.engine.jdbc.batch.spi
Methods in org.hibernate.engine.jdbc.batch.spi that return HibernateExceptionModifier and TypeMethodDescriptionBatch.StaleStateMapper.map
(StaleStateException staleStateException) -
Uses of HibernateException in org.hibernate.engine.jdbc.connections.spi
Subclasses of HibernateException in org.hibernate.engine.jdbc.connections.spiModifier and TypeClassDescriptionclass
Occurs when there is a problem configuring aConnectionProvider
. -
Uses of HibernateException in org.hibernate.engine.jdbc.dialect.spi
Methods in org.hibernate.engine.jdbc.dialect.spi that throw HibernateExceptionModifier and TypeMethodDescriptionDialectFactory.buildDialect
(Map<String, Object> configValues, DialectResolutionInfoSource resolutionInfoSource) Builds an appropriate Dialect instance. -
Uses of HibernateException in org.hibernate.engine.jdbc.mutation.group
Subclasses of HibernateException in org.hibernate.engine.jdbc.mutation.groupModifier and TypeClassDescriptionclass
Indicates an attempt to access the parameter for an unknown column -
Uses of HibernateException in org.hibernate.engine.jndi
Subclasses of HibernateException in org.hibernate.engine.jndiModifier and TypeClassDescriptionclass
An exception indicating trouble accessing JNDIclass
Indicates a problem with a given JNDI name being deemed as not valid. -
Uses of HibernateException in org.hibernate.engine.query
Subclasses of HibernateException in org.hibernate.engine.queryModifier and TypeClassDescriptionclass
Indicates a problem during parameter recognition viaParameterRecognizer
-
Uses of HibernateException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi with parameters of type HibernateExceptionModifier and TypeMethodDescriptionExceptionConverter.convert
(HibernateException e) Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.ExceptionConverter.convert
(HibernateException e, LockOptions lockOptions) Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.Methods in org.hibernate.engine.spi that throw HibernateExceptionModifier and TypeMethodDescriptionboolean
SessionDelegatorBaseImpl.autoFlushIfRequired
(Set<String> querySpaces) boolean
SessionDelegatorBaseImpl.autoFlushIfRequired
(Set<String> querySpaces, boolean skipPreFlush) boolean
SharedSessionDelegatorBaseImpl.autoFlushIfRequired
(Set<String> querySpaces) boolean
SharedSessionDelegatorBaseImpl.autoFlushIfRequired
(Set<String> querySpaces, boolean skipPreFlush) void
SessionDelegatorBaseImpl.cancelQuery()
void
CascadingAction.cascade
(EventSource session, Object child, String entityName, T anything, boolean isCascadeDeleteEnabled) Cascade the action to the child object.void
SessionDelegatorBaseImpl.close()
void
SessionFactoryDelegatingImpl.close()
void
SessionLazyDelegator.close()
void
SharedSessionDelegatorBaseImpl.close()
<T> T
SessionDelegatorBaseImpl.doReturningWork
(ReturningWork<T> work) <T> T
SessionLazyDelegator.doReturningWork
(ReturningWork<T> work) <T> T
SharedSessionDelegatorBaseImpl.doReturningWork
(ReturningWork<T> work) void
void
void
void
ActionQueue.executeActions()
Perform all currently queued actions.void
ActionQueue.executeInserts()
Perform all currently queued entity-insertion actions.void
SessionDelegatorBaseImpl.forceFlush
(EntityEntry e) void
SessionDelegatorBaseImpl.forceFlush
(EntityKey e) void
SessionImplementor.forceFlush
(EntityEntry e) Initiate a flush to force deletion of a re-persisted entity.void
SessionImplementor.forceFlush
(EntityKey e) Initiate a flush to force deletion of a re-persisted entity.SessionFactoryDelegatingImpl.getCurrentSession()
SessionDelegatorBaseImpl.getEntityPersister
(@Nullable String entityName, Object object) SharedSessionContractImplementor.getEntityPersister
(@Nullable String entityName, Object object) Get theEntityPersister
for the given entity instance.SharedSessionDelegatorBaseImpl.getEntityPersister
(@Nullable String entityName, Object object) SessionDelegatorBaseImpl.getEntityUsingInterceptor
(EntityKey key) SharedSessionContractImplementor.getEntityUsingInterceptor
(EntityKey key) Get the entity instance associated with the givenEntityKey
, calling theInterceptor
if necessary.SharedSessionDelegatorBaseImpl.getEntityUsingInterceptor
(EntityKey key) SessionFactoryDelegatingImpl.getFilterDefinition
(String filterName) Deprecated.Collection<?>
CollectionEntry.getOrphans
(String entityName, PersistentCollection<?> collection) Get the collection orphans (entities which were removed from the collection)SessionDelegatorBaseImpl.guessEntityName
(Object entity) SharedSessionContractImplementor.guessEntityName
(Object entity) Obtain an estimate of the entity name of the given entity instance, which is not involved in an association, using only theEntityNameResolver
.SharedSessionDelegatorBaseImpl.guessEntityName
(Object entity) SessionDelegatorBaseImpl.immediateLoad
(String entityName, Object id) SharedSessionContractImplementor.immediateLoad
(String entityName, Object id) Load an instance immediately.SharedSessionDelegatorBaseImpl.immediateLoad
(String entityName, Object id) void
SessionDelegatorBaseImpl.initializeCollection
(PersistentCollection<?> collection, boolean writing) void
SharedSessionContractImplementor.initializeCollection
(PersistentCollection<?> collection, boolean writing) Initialize the given collection (if not already initialized).void
SharedSessionDelegatorBaseImpl.initializeCollection
(PersistentCollection<?> collection, boolean writing) void
PersistenceContext.initializeNonLazyCollections()
Force initialization of all non-lazy collections encountered during the current two-phase load (actually, this is a no-op, unless this is the "outermost" load)SessionDelegatorBaseImpl.instantiate
(String entityName, Object id) Deprecated.SessionDelegatorBaseImpl.instantiate
(EntityPersister persister, Object id) SessionImplementor.instantiate
(EntityPersister persister, Object id) SharedSessionContractImplementor.instantiate
(String entityName, Object id) Deprecated, for removal: This API element is subject to removal in a future version.No longer used, replaced bySharedSessionContractImplementor.instantiate(EntityPersister, Object)
SharedSessionContractImplementor.instantiate
(EntityPersister persister, Object id) Instantiate the entity class of the givenEntityPersister
, initializing the new instance with the given identifier.SharedSessionDelegatorBaseImpl.instantiate
(String entityName, Object id) Deprecated.SharedSessionDelegatorBaseImpl.instantiate
(EntityPersister persister, Object id) SessionDelegatorBaseImpl.internalLoad
(String entityName, Object id, boolean eager, boolean nullable) SharedSessionContractImplementor.internalLoad
(String entityName, Object id, boolean eager, boolean nullable) Obtain an entity instance with the given id, without checking if it was deleted or scheduled for deletion.SharedSessionDelegatorBaseImpl.internalLoad
(String entityName, Object id, boolean eager, boolean nullable) boolean
SessionDelegatorBaseImpl.isDirty()
SessionFactoryDelegatingImpl.openSession()
SessionFactoryDelegatingImpl.openTemporarySession()
void
CollectionEntry.postFlush
(PersistentCollection<?> collection) Called after a successful flushvoid
CollectionEntry.postInitialize
(PersistentCollection<?> collection, SharedSessionContractImplementor session) void
CollectionEntry.preFlush
(PersistentCollection<?> collection) void
ActionQueue.prepareActions()
Prepares the internal action queues for execution. -
Uses of HibernateException in org.hibernate.engine.transaction.jta.platform.spi
Subclasses of HibernateException in org.hibernate.engine.transaction.jta.platform.spiModifier and TypeClassDescriptionclass
Indicates a problem interacting with the underlying JTA platform. -
Uses of HibernateException in org.hibernate.event.service.spi
Subclasses of HibernateException in org.hibernate.event.service.spiModifier and TypeClassDescriptionclass
Indicates a problem registering an event listener. -
Uses of HibernateException in org.hibernate.event.spi
Methods in org.hibernate.event.spi that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
EventSource.forceFlush
(EntityEntry e) Force an immediate flushvoid
EventSource.forceFlush
(EntityKey e) Force an immediate flushEventSource.instantiate
(EntityPersister persister, Object id) Instantiate an entity instance, using either an interceptor, or the given persistervoid
EventSource.merge
(String entityName, Object object, MergeContext copiedAlready) Cascade merge an entity instancevoid
AutoFlushEventListener.onAutoFlush
(AutoFlushEvent event) Handle the given auto-flush event.default void
AutoFlushEventListener.onAutoPreFlush
(EventSource source) void
DeleteEventListener.onDelete
(DeleteEvent event) Handle the given delete event.void
DeleteEventListener.onDelete
(DeleteEvent event, DeleteContext transientEntities) void
DirtyCheckEventListener.onDirtyCheck
(DirtyCheckEvent event) Handle the given dirty-check event.void
EvictEventListener.onEvict
(EvictEvent event) Handle the given evict event.void
FlushEventListener.onFlush
(FlushEvent event) Handle the given flush event.void
FlushEntityEventListener.onFlushEntity
(FlushEntityEvent event) void
InitializeCollectionEventListener.onInitializeCollection
(InitializeCollectionEvent event) void
LoadEventListener.onLoad
(LoadEvent event, LoadEventListener.LoadType loadType) Handle the given load event.void
Handle the given lock event.void
MergeEventListener.onMerge
(MergeEvent event) Handle the given merge event.void
MergeEventListener.onMerge
(MergeEvent event, MergeContext copiedAlready) Handle the given merge event.void
PersistEventListener.onPersist
(PersistEvent event) Handle the given create event.void
PersistEventListener.onPersist
(PersistEvent event, PersistContext createdAlready) Handle the given create event.void
RefreshEventListener.onRefresh
(RefreshEvent event) Handle the given refresh event.void
RefreshEventListener.onRefresh
(RefreshEvent event, RefreshContext refreshedAlready) void
ReplicateEventListener.onReplicate
(ReplicateEvent event) Deprecated.Handle the given replicate event.void
EventSource.persist
(String entityName, Object object, PersistContext createdAlready) Cascade persist an entity instancevoid
EventSource.refresh
(String entityName, Object object, RefreshContext refreshedAlready) Cascade refresh an entity instance -
Uses of HibernateException in org.hibernate.exception
Subclasses of HibernateException in org.hibernate.exceptionModifier and TypeClassDescriptionclass
AJDBCException
indicating an authentication or authorization failure.class
AJDBCException
indicating that the requested DML operation resulted in violation of a defined data integrity constraint.class
AJDBCException
indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.class
Generic, non-specific flavor ofJDBCException
.class
AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).class
AJDBCException
indicating a problem acquiring a lock on the database.class
AJDBCException
indicating that a lock request timed out on the database.class
AJDBCException
indicating that a request failed due to snapshot isolation.class
Specialization ofJDBCException
indicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem.class
AJDBCException
indicating a transaction failed because it could not be placed into a serializable ordering among all currently-executing transactions -
Uses of HibernateException in org.hibernate.graph
Subclasses of HibernateException in org.hibernate.graphModifier and TypeClassDescriptionclass
Indicates an illegal attempt to make aGraph
become anEntityGraph
viaGraph.makeRootGraph(String, boolean)
.class
Indicates an attempt was made to add a (key)? subgraph to an attribute type that does not support (key)? subgraphs.class
Thrown byGraphParser
to indicate textual entity graph representation parsing errors. -
Uses of HibernateException in org.hibernate.id
Subclasses of HibernateException in org.hibernate.idModifier and TypeClassDescriptionclass
Thrown by anIdentifierGenerator
implementation class when ID generation fails.Methods in org.hibernate.id that throw HibernateExceptionModifier and TypeMethodDescriptionCompositeNestedGeneratedValueGenerator.generate
(SharedSessionContractImplementor session, Object object) GUIDGenerator.generate
(SharedSessionContractImplementor session, Object obj) Deprecated.IncrementGenerator.generate
(SharedSessionContractImplementor session, Object object) UUIDGenerator.generate
(SharedSessionContractImplementor session, Object object) Deprecated. -
Uses of HibernateException in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that throw HibernateExceptionModifier and TypeMethodDescriptionSequenceStyleGenerator.generate
(SharedSessionContractImplementor session, Object object) -
Uses of HibernateException in org.hibernate.jdbc
Subclasses of HibernateException in org.hibernate.jdbcModifier and TypeClassDescriptionclass
Much likeTooManyRowsAffectedException
, indicates that more rows than what we were expecting were affected.class
Indicates a failed batch entry (-3 return).class
Indicates that more rows were affected than we were expecting to be.Methods in org.hibernate.jdbc that throw HibernateExceptionModifier and TypeMethodDescriptionint
Expectation.OutParameter.prepare
(PreparedStatement statement) default int
Expectation.prepare
(PreparedStatement statement) Perform any special statement preparation, for example, registration of OUT parameters.void
Expectation.verifyOutcome
(int rowCount, PreparedStatement statement, int batchPosition, String sql) Perform verification of the outcome of the JDBC operation based on the type of expectation defined, after execution of the givenPreparedStatement
. -
Uses of HibernateException in org.hibernate.loader
Subclasses of HibernateException in org.hibernate.loaderModifier and TypeClassDescriptionclass
Exception used to indicate that a query is attempting to simultaneously fetch multiple bagsclass
Thrown when Hibernate encounters a non-unique SQL alias in the ResultSet while processing the results of a NativeQuery using auto-discovery to understand the ResultSet metadata for mapping the JDBC values to the domain result. -
Uses of HibernateException in org.hibernate.metamodel
Subclasses of HibernateException in org.hibernate.metamodelModifier and TypeClassDescriptionclass
Indicated a problem with a mapping. -
Uses of HibernateException in org.hibernate.metamodel.mapping.ordering.ast
Subclasses of HibernateException in org.hibernate.metamodel.mapping.ordering.astModifier and TypeClassDescriptionclass
class
Indicates a problem resolving a domain-path occurring in an order-by fragment -
Uses of HibernateException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw HibernateExceptionModifier and TypeMethodDescriptionprotected abstract void
AbstractCollectionPersister.doProcessQueuedOps
(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) protected void
OneToManyPersister.doProcessQueuedOps
(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) void
AbstractCollectionPersister.initialize
(Object key, SharedSessionContractImplementor session) void
CollectionPersister.initialize
(Object key, SharedSessionContractImplementor session) Initialize the given collection with the given keyvoid
BasicCollectionPersister.insertRows
(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) void
OneToManyPersister.insertRows
(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) void
OneToManyPersister.recreate
(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) void
AbstractCollectionPersister.remove
(Object id, SharedSessionContractImplementor session) -
Uses of HibernateException in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that throw HibernateExceptionModifier and TypeMethodDescriptionAbstractEntityPersister.createProxy
(Object id, SharedSessionContractImplementor session) DiscriminatorType.deepCopy
(Object value, SessionFactoryImplementor factory) Deprecated, for removal: This API element is subject to removal in a future version.int[]
AbstractEntityPersister.findDirty
(Object[] currentState, Object[] previousState, Object entity, SharedSessionContractImplementor session) Locate the property-indices of all properties considered to be dirty.int[]
AbstractEntityPersister.findModified
(Object[] old, Object[] current, Object entity, SharedSessionContractImplementor session) Locate the property-indices of all properties considered to be dirty.AbstractEntityPersister.forceVersionIncrement
(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session) default Object
EntityPersister.forceVersionIncrement
(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session) EntityPersister.forceVersionIncrement
(Object id, Object currentVersion, SharedSessionContractImplementor session) JoinedSubclassEntityPersister.forceVersionIncrement
(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session) AbstractEntityPersister.getCurrentVersion
(Object id, SharedSessionContractImplementor session) Retrieve the version numberEntityPersister.getCurrentVersion
(Object id, SharedSessionContractImplementor session) Get the current version of the object, or return null if there is no row for the given identifier.Object[]
AbstractEntityPersister.getDatabaseSnapshot
(Object id, SharedSessionContractImplementor session) Object[]
EntityPersister.getDatabaseSnapshot
(Object id, SharedSessionContractImplementor session) Get the current database state of the object, in a "hydrated" form, without resolving identifiers.AbstractEntityPersister.getIdentifierGenerator()
Deprecated.EntityPersister.getPropertyValue
(Object object, int i) Deprecated.UseEntityPersister.getValue(java.lang.Object, int)
insteadObject[]
AbstractEntityPersister.getPropertyValuesToInsert
(Object entity, Map<Object, Object> mergeMap, SharedSessionContractImplementor session) EntityPersister.getVersion
(Object object) Get the version number (or timestamp) from the object's version property.boolean
DiscriminatorType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) Deprecated, for removal: This API element is subject to removal in a future version.AbstractEntityPersister.isTransient
(Object entity, SharedSessionContractImplementor session) AbstractEntityPersister.load
(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session) Load an instance using either theforUpdateLoader
or the outer joiningloader
, depending upon the value of thelock
parameterAbstractEntityPersister.load
(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly) default Object
EntityPersister.load
(Object id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session, Boolean readOnly) default Object
EntityPersister.load
(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly) AbstractEntityPersister.loadByUniqueKey
(String propertyName, Object uniqueKey, Boolean readOnly, SharedSessionContractImplementor session) AbstractEntityPersister.loadByUniqueKey
(String propertyName, Object uniqueKey, SharedSessionContractImplementor session) void
AbstractEntityPersister.lock
(Object id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session) void
AbstractEntityPersister.lock
(Object id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session) void
DiscriminatorType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) Deprecated, for removal: This API element is subject to removal in a future version.void
DiscriminatorType.nullSafeSet
(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) Deprecated, for removal: This API element is subject to removal in a future version.DiscriminatorType.replace
(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Deprecated, for removal: This API element is subject to removal in a future version.DiscriminatorType.toLoggableString
(Object value, SessionFactoryImplementor factory) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.persister.entity that throw HibernateExceptionModifierConstructorDescriptionAbstractEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) JoinedSubclassEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) SingleTableEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) UnionSubclassEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) -
Uses of HibernateException in org.hibernate.persister.spi
Subclasses of HibernateException in org.hibernate.persister.spiModifier and TypeClassDescriptionclass
Indicates that the persister to use is not known and could not be determined. -
Uses of HibernateException in org.hibernate.procedure
Subclasses of HibernateException in org.hibernate.procedureModifier and TypeClassDescriptionclass
Thrown to indicate that an attempt was made to register a stored procedure named parameter, but the underlying database reports to not support named parameters.class
class
Thrown to indicate a misuse of a parameterclass
class
Indicates Hibernate is unable to determine the type details for a parameter. -
Uses of HibernateException in org.hibernate.property.access.spi
Subclasses of HibernateException in org.hibernate.property.access.spiModifier and TypeClassDescriptionclass
Indicates a problem while building aPropertyAccess
.class
Indicates a problem reading or writing value from/to a persistent property.class
-
Uses of HibernateException in org.hibernate.proxy
Methods in org.hibernate.proxy that throw HibernateExceptionModifier and TypeMethodDescriptionfinal Object
AbstractLazyInitializer.getImplementation
(SharedSessionContractImplementor session) LazyInitializer.getImplementation
(SharedSessionContractImplementor session) Return the underlying persistent object in the given session, or null if not contained in this session's persistence context.ProxyFactory.getProxy
(Object id, SharedSessionContractImplementor session) Create a new proxy instancefinal void
AbstractLazyInitializer.initialize()
void
LazyInitializer.initialize()
Initialize the proxy, fetching the target entity if necessary.void
ProxyFactory.postInstantiate
(String entityName, Class<?> persistentClass, Set<Class<?>> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) Called immediately after instantiation of this factory.final void
AbstractLazyInitializer.setSession
(SharedSessionContractImplementor session) void
LazyInitializer.setSession
(SharedSessionContractImplementor session) Associate the proxy with the given session. -
Uses of HibernateException in org.hibernate.proxy.pojo.bytebuddy
Methods in org.hibernate.proxy.pojo.bytebuddy that throw HibernateExceptionModifier and TypeMethodDescriptionByteBuddyProxyFactory.getProxy
(Object id, SharedSessionContractImplementor session) void
ByteBuddyProxyFactory.postInstantiate
(String entityName, Class<?> persistentClass, Set<Class<?>> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) -
Uses of HibernateException in org.hibernate.query
Subclasses of HibernateException in org.hibernate.queryModifier and TypeClassDescriptionclass
Indicates an attempt to callQueryProducer.createMutationQuery(String)
,QueryProducer.createNamedMutationQuery(String)
orQueryProducer.createNativeMutationQuery(String)
with a non-mutation query (generally a select query)class
Indicates a named-query has specified options that are not legalclass
Thrown when an operation of theQuery
interface is called which is unsupported due to the nature of the query itself.class
Indicates an attempt to callQueryProducer.createSelectionQuery(String)
with a non-selection query (generally a mutation query)class
Indicates that validation and translation of one or more named queries failed at initialization time.class
Indicates an attempt to use a non-indexed collection as indexed.class
Indicates a problem with the labelling of query parameters.class
Indicates a problem with a path expression in HQL/JPQL.class
Indicates a mismatch between the expected and actual result types of a query.class
Represents an error in the semantics (meaning) of a HQL/JPQL query.class
Represents a syntax error in a HQL/JPQL query.class
Occurs when a named query is requested, and there is no known HQL or native SQL query registered under the given name.class
Indicates an attempt to find an unknown query parameter or an attempt to bind a value to an unknown query parameterclass
Indicates a request for named ResultSet mapping which could not be foundMethods in org.hibernate.query that return types with arguments of type HibernateExceptionModifier and TypeMethodDescriptionNamedQueryValidationException.getErrors()
A map from query name to the error that occurred while interpreting or translating the named query.Methods in org.hibernate.query with parameters of type HibernateExceptionModifier and TypeMethodDescriptionvoid
QueryLogging.namedQueryError
(String queryName, HibernateException e) Constructor parameters in org.hibernate.query with type arguments of type HibernateExceptionModifierConstructorDescriptionNamedQueryValidationException
(String message, Map<String, HibernateException> errors) -
Uses of HibernateException in org.hibernate.query.hql
Subclasses of HibernateException in org.hibernate.query.hqlModifier and TypeClassDescriptionclass
Base of exception hierarchy for exceptions stemming from producing SQM AST trees -
Uses of HibernateException in org.hibernate.query.named
Methods in org.hibernate.query.named that return types with arguments of type HibernateExceptionModifier and TypeMethodDescriptionNamedObjectRepository.checkNamedQueries
(QueryEngine queryPlanCache) Perform a validity check on all named queries -
Uses of HibernateException in org.hibernate.query.results
Subclasses of HibernateException in org.hibernate.query.resultsModifier and TypeClassDescriptionclass
Indicates that a column defined as part of a SQL ResultSet mapping was not part of the query's ResultSet -
Uses of HibernateException in org.hibernate.query.spi
Methods in org.hibernate.query.spi that throw HibernateException -
Uses of HibernateException in org.hibernate.query.sqm
Subclasses of HibernateException in org.hibernate.query.sqmModifier and TypeClassDescriptionclass
Occurs when the HQL query declares a duplicate identification variable in thefrom
clause, or a duplicate result column alias in theselect
clause.class
Represents a generic unhandled problem which occurred while translating HQL/JPQL.class
class
Occurs when an unexpected condition is encountered while interpreting the output of the HQL parser.class
Indicates violations of strict JPQL syntax while strict JPQL syntax checking was enabled.class
Indicates a problem with a TREAT usageclass
Indicates a failure to resolve an entity name in HQL to a known mapped entity type.class
Indicates a failure to resolve an element of a path expression in HQL/JPQL. -
Uses of HibernateException in org.hibernate.query.sqm.produce.function
Subclasses of HibernateException in org.hibernate.query.sqm.produce.functionModifier and TypeClassDescriptionclass
Represents a problem with the argument list of a function in HQL/JPQL. -
Uses of HibernateException in org.hibernate.query.sqm.sql
Subclasses of HibernateException in org.hibernate.query.sqm.sqlModifier and TypeClassDescriptionclass
Indicates a problem converting an SQM tree to a SQL AST -
Uses of HibernateException in org.hibernate.query.sqm.tree.expression
Subclasses of HibernateException in org.hibernate.query.sqm.tree.expression -
Uses of HibernateException in org.hibernate.resource.transaction
Subclasses of HibernateException in org.hibernate.resource.transactionModifier and TypeClassDescriptionclass
Wraps an exception thrown from a "local synchronization" (one registered in the SynchronizationRegistry).class
Indicates an attempt to register a null synchronization.class
Indicates a call toTransactionCoordinator.explicitJoin()
that requires an active transaction where there currently is none. -
Uses of HibernateException in org.hibernate.resource.transaction.spi
Methods in org.hibernate.resource.transaction.spi that throw HibernateExceptionModifier and TypeMethodDescription<T> T
IsolationDelegate.delegateCallable
(Callable<T> callable, boolean transacted) Invoke the given callable in isolation from current transaction.<T> T
IsolationDelegate.delegateWork
(WorkExecutorVisitable<T> work, boolean transacted) Perform the given work in isolation from current transaction. -
Uses of HibernateException in org.hibernate.result
Subclasses of HibernateException in org.hibernate.result -
Uses of HibernateException in org.hibernate.service
Subclasses of HibernateException in org.hibernate.serviceModifier and TypeClassDescriptionclass
class
Indicates that an unknown service was requested from the registry.class
-
Uses of HibernateException in org.hibernate.service.spi
Subclasses of HibernateException in org.hibernate.service.spi -
Uses of HibernateException in org.hibernate.sql.ast
Subclasses of HibernateException in org.hibernate.sql.astModifier and TypeClassDescriptionclass
Base exception type for problems building a SQL tree. -
Uses of HibernateException in org.hibernate.sql.ast.tree.from
Subclasses of HibernateException in org.hibernate.sql.ast.tree.fromModifier and TypeClassDescriptionclass
Thrown when aTableReference
cannot be resolved for a table-name. -
Uses of HibernateException in org.hibernate.sql.exec
Subclasses of HibernateException in org.hibernate.sql.execModifier and TypeClassDescriptionclass
Indicates an exception performing execution -
Uses of HibernateException in org.hibernate.sql.results
Subclasses of HibernateException in org.hibernate.sql.results -
Uses of HibernateException in org.hibernate.tool.schema.extract.spi
Subclasses of HibernateException in org.hibernate.tool.schema.extract.spi -
Uses of HibernateException in org.hibernate.tool.schema.spi
Subclasses of HibernateException in org.hibernate.tool.schema.spiModifier and TypeClassDescriptionclass
Indicates a problem accepting/executing a schema management command.class
Indicates a problem in performing schema management.class
Indicates a problem -
Uses of HibernateException in org.hibernate.type
Subclasses of HibernateException in org.hibernate.typeModifier and TypeClassDescriptionclass
Thrown when a property cannot be serialized/deserializedMethods in org.hibernate.type that throw HibernateExceptionModifier and TypeMethodDescriptionfinal Object
AbstractStandardBasicType.assemble
(Serializable cached, SharedSessionContractImplementor session, Object owner) AbstractType.assemble
(Serializable cached, SharedSessionContractImplementor session, Object owner) AnyType.assemble
(Serializable cached, SharedSessionContractImplementor session, Object owner) CollectionType.assemble
(Serializable cached, SharedSessionContractImplementor session, Object owner) ComponentType.assemble
(Serializable object, SharedSessionContractImplementor session, Object owner) ManyToOneType.assemble
(Serializable oid, SharedSessionContractImplementor session, Object owner) OneToOneType.assemble
(Serializable oid, SharedSessionContractImplementor session, Object owner) SpecialOneToOneType.assemble
(Serializable oid, SharedSessionContractImplementor session, Object owner) @Nullable Object
Type.assemble
(@Nullable Serializable cached, SharedSessionContractImplementor session, Object owner) Reconstruct the object from its disassembled state.UserComponentType.assemble
(Serializable object, SharedSessionContractImplementor session, Object owner) CustomType.deepCopy
(Object value, SessionFactoryImplementor factory) MetaType.deepCopy
(Object value, SessionFactoryImplementor factory) @Nullable Object
Type.deepCopy
(@Nullable Object value, SessionFactoryImplementor factory) Return a deep copy of the persistent state, stopping at entities and at collections.final Serializable
AbstractStandardBasicType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) AbstractType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) AbstractType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) AnyType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) AnyType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) CollectionType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) CollectionType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) ComponentType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) ComponentType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) ManyToOneType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) ManyToOneType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) SpecialOneToOneType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) SpecialOneToOneType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) @Nullable Serializable
Type.disassemble
(@Nullable Object value, @Nullable SharedSessionContractImplementor session, @Nullable Object owner) Return a disassembled representation of the object.default @Nullable Serializable
Type.disassemble
(@Nullable Object value, SessionFactoryImplementor sessionFactory) Return a disassembled representation of the object.UserComponentType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) UserComponentType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) MetaType.fromXMLString
(String xml, MappingContext mappingContext) int
Type.getHashCode
(Object x) Get a hash code, consistent with persistence "equality".int
Type.getHashCode
(Object x, SessionFactoryImplementor factory) Get a hash code, consistent with persistence "equality".protected final Object
EntityType.getIdentifier
(Object value, SessionFactoryImplementor sessionFactory) protected final Object
EntityType.getIdentifier
(Object value, SharedSessionContractImplementor session) protected final Object
EntityType.getIdentifierEvenIfTransient
(Object value, SharedSessionContractImplementor session) AnyType.getPropertyValue
(Object component, int i, SharedSessionContractImplementor session) ComponentType.getPropertyValue
(Object component, int i, SharedSessionContractImplementor session) CompositeType.getPropertyValue
(Object component, int index, SharedSessionContractImplementor session) Extract a particular component property value indicated by index.Object[]
AnyType.getPropertyValues
(Object component, SharedSessionContractImplementor session) Object[]
CompositeType.getPropertyValues
(Object component) Extract the values of the component properties from the given component instance without access to the session.Object[]
CompositeType.getPropertyValues
(Object component, SharedSessionContractImplementor session) Extract the values of the component properties from the given component instanceArrayType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister, Object key) BagType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister, Object key) IdentifierBagType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister, Object key) boolean
AbstractType.isDirty
(Object old, Object current, SharedSessionContractImplementor session) boolean
AnyType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
CollectionType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
CollectionType.isDirty
(Object old, Object current, SharedSessionContractImplementor session) boolean
ComponentType.isDirty
(Object x, Object y, boolean[] checkable, SharedSessionContractImplementor session) boolean
ComponentType.isDirty
(Object x, Object y, SharedSessionContractImplementor session) boolean
CustomType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
ManyToOneType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
ManyToOneType.isDirty
(Object old, Object current, SharedSessionContractImplementor session) boolean
MetaType.isDirty
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
Type.isDirty
(@Nullable Object oldState, @Nullable Object currentState, boolean[] checkable, SharedSessionContractImplementor session) Should the parent be considered dirty, given both the old and current value?boolean
Type.isDirty
(@Nullable Object old, @Nullable Object current, SharedSessionContractImplementor session) Should the parent be considered dirty, given both the old and current value?boolean
boolean
ComponentType.isEqual
(Object x, Object y, SessionFactoryImplementor factory) boolean
boolean
Compare two instances of the class mapped by this type for persistence "equality", that is, equality of persistent state.boolean
Type.isEqual
(@Nullable Object x, @Nullable Object y, SessionFactoryImplementor factory) Compare two instances of the class mapped by this type for persistence "equality", that is, equality of persistent state.boolean
boolean
UserComponentType.isEqual
(Object x, Object y, SessionFactoryImplementor factory) boolean
AbstractType.isModified
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
AnyType.isModified
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
ComponentType.isModified
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
ManyToOneType.isModified
(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session) boolean
Type.isModified
(@Nullable Object dbState, @Nullable Object currentState, boolean[] checkable, SharedSessionContractImplementor session) Has the value been modified compared to the current database state? The difference between this and theType.isDirty(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)
methods is that here we need to account for "partially" built values.boolean
boolean
boolean
boolean
Compare two instances of the class mapped by this type for persistence "equality", that is, equality of persistent state, taking a shortcut for entity references.EntityType.loadByUniqueKey
(String entityName, String uniqueKeyPropertyName, Object key, SharedSessionContractImplementor session) Load an instance by a unique key that is not the primary key.final void
AbstractSingleColumnStandardBasicType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) void
AnyType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) void
AnyType.nullSafeSet
(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) final void
CollectionType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) void
CollectionType.nullSafeSet
(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) void
ComponentType.nullSafeSet
(PreparedStatement st, Object value, int begin, boolean[] settable, SharedSessionContractImplementor session) void
ComponentType.nullSafeSet
(PreparedStatement st, Object value, int begin, SharedSessionContractImplementor session) void
MetaType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) void
MetaType.nullSafeSet
(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) void
Type.nullSafeSet
(PreparedStatement st, @Nullable Object value, int index, boolean[] settable, SharedSessionContractImplementor session) Bind a value represented by an instance of themapped class
to the given JDBCPreparedStatement
, ignoring some columns as dictated by thesettable
parameter.void
Type.nullSafeSet
(PreparedStatement st, @Nullable Object value, int index, SharedSessionContractImplementor session) Bind a value represented by an instance of themapped class
to the given JDBCPreparedStatement
, ignoring some columns as dictated by thesettable
parameter.AbstractType.replace
(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) AnyType.replace
(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) CollectionType.replace
(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) EntityType.replace
(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) @Nullable Object
Type.replace
(@Nullable Object original, @Nullable Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.@Nullable Object
Type.replace
(@Nullable Object original, @Nullable Object target, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.ArrayType.replaceElements
(Object original, Object target, Object owner, Map<Object, Object> copyCache, SharedSessionContractImplementor session) MapType.replaceElements
(Object original, Object target, Object owner, Map<Object, Object> copyCache, SharedSessionContractImplementor session) ComponentType.replacePropertyValues
(Object component, Object[] values, SharedSessionContractImplementor session) default Object
CompositeType.replacePropertyValues
(Object component, Object[] values, SharedSessionContractImplementor session) Inject property values onto the given component instance, or return a new instance with the given property values.UserComponentType.replacePropertyValues
(Object component, Object[] values, SharedSessionContractImplementor session) protected final Object
EntityType.resolveIdentifier
(Object id, SharedSessionContractImplementor session) Resolve an identifier via a load.void
CompositeType.setPropertyValues
(Object component, Object[] values) Inject property values onto the given component instanceAnyType.toLoggableString
(Object value, SessionFactoryImplementor factory) ArrayType.toLoggableString
(Object value, SessionFactoryImplementor factory) ComponentType.toLoggableString
(Object value, SessionFactoryImplementor factory) MetaType.toLoggableString
(Object value, SessionFactoryImplementor factory) Type.toLoggableString
(@Nullable Object value, SessionFactoryImplementor factory) Generate a representation of the given value for logging purposes.MetaType.toXMLString
(Object value, SessionFactoryImplementor factory) -
Uses of HibernateException in org.hibernate.type.descriptor.java
Subclasses of HibernateException in org.hibernate.type.descriptor.javaModifier and TypeClassDescriptionclass
A problem converting between JDBC types and Java types.Methods in org.hibernate.type.descriptor.java that return HibernateExceptionModifier and TypeMethodDescriptionprotected HibernateException
AbstractClassJavaType.unknownUnwrap
(Class<?> conversionType) protected HibernateException
AbstractJavaType.unknownUnwrap
(Class<?> conversionType) protected static <T extends JavaType<?>>
HibernateExceptionJavaTypeHelper.unknownUnwrap
(Class<?> sourceType, Class<?> targetType, T jtd) protected HibernateException
AbstractClassJavaType.unknownWrap
(Class<?> conversionType) protected HibernateException
AbstractJavaType.unknownWrap
(Class<?> conversionType) protected static <T extends JavaType<?>>
HibernateExceptionJavaTypeHelper.unknownWrap
(Class<?> valueType, Class<?> sourceType, T jtd) -
Uses of HibernateException in org.hibernate.type.descriptor.java.spi
Subclasses of HibernateException in org.hibernate.type.descriptor.java.spiModifier and TypeClassDescriptionclass
Exception indicatingJavaType.getRecommendedJdbcType(org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators)
could not determine a recommended JDBC type descriptor -
Uses of HibernateException in org.hibernate.usertype
Methods in org.hibernate.usertype that throw HibernateExceptionModifier and TypeMethodDescriptionBaseUserTypeSupport.assemble
(Serializable cached, Object owner) BaseUserTypeSupport.disassemble
(T value) boolean
EnhancedUserType.fromStringValue
(CharSequence sequence) Consume the given string representation back into this types java form.CompositeUserType.getPropertyValue
(J component, int property) Get the value of the property with the given index.int
UserCollectionType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister) Instantiate an uninitialized instance of the collection wrapperUserCollectionType.replaceElements
(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SharedSessionContractImplementor session) Replace the elements of a collection with the elements of another collectionRender the value to the string representation.
Interceptor
are no longer required to throw this exception type.