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.The various concrete action implementations.
This SPI package defines an abstraction over the notion of an "action"
which is scheduled for asynchronous execution by the event listeners.
Implementation of ConnectionProvider using Agroal.
This package contains the interfaces that make up the bootstrap API
for Hibernate.
Support for integrating Jakarta Bean Validation.
Contains basic support for Java XML Processing (JAXP) via Streaming API for XML (StAX)
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.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.
Byte Buddy support internals
Package defining bytecode code enhancement (instrumentation) support.
This package defines the API of the second-level cache service.
Internal implementations and support for second-level caching.
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.
Internal implementations and support around "current session" handling.
SPI-level contracts around "current session" and "current tenant" support.
Support for
Dialect
-specific locking strategies.Support for many of the internal workings of Hibernate.
Defines contracts for JDBC batching support.
Internal support for Dialect resolution (from JDBC metadata) and Dialect building.
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.
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
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.
Implementation of ConnectionProvider using HikariCP.
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.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Internal utility classes
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.
Defines the runtime domain metamodel, which describes the Java aspect of
the application's domain model parts (entities, attributes).
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.
An implementation of the bean container SPI based on CDI.
Defines the resource-level transaction capabilities of Hibernate, centered
around the
TransactionCoordinator
contract.An implementation of
TransactionCoordinator
based on JdbcResourceTransaction
.Implementations of
TransactionCoordinator
based on JTA.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.
Implementation of the SPI for integrating pluggable services.
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 implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.
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.
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
Intended to be thrown fromInterceptor
callbacks.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
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
Thrown when a database query timeout occurs.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.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.internal
Subclasses of HibernateException in org.hibernate.action.internalMethods in org.hibernate.action.internal that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
BulkOperationCleanupAction.beforeExecutions()
void
EntityDeleteAction.doAfterTransactionCompletion
(boolean success, SharedSessionContractImplementor session) void
EntityInsertAction.doAfterTransactionCompletion
(boolean success, SharedSessionContractImplementor session) void
BulkOperationCleanupAction.execute()
void
CollectionRecreateAction.execute()
void
CollectionRemoveAction.execute()
void
CollectionUpdateAction.execute()
void
EntityDeleteAction.execute()
void
EntityIdentityInsertAction.execute()
void
EntityInsertAction.execute()
void
EntityUpdateAction.execute()
void
QueuedOperationCollectionAction.execute()
-
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.agroal.internal
Methods in org.hibernate.agroal.internal that throw HibernateException -
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.internal
Subclasses of HibernateException in org.hibernate.boot.internalModifier and TypeClassDescriptionclass
Deprecated.It would be nice to be able to eliminate this completely -
Uses of HibernateException in org.hibernate.boot.jaxb.hbm.transform
Subclasses of HibernateException in org.hibernate.boot.jaxb.hbm.transformModifier and TypeClassDescriptionclass
Generalized error while performinghbm.xml
transformationclass
We encountered a reference to an entity by name which we cannot resolve -
Uses of HibernateException in org.hibernate.boot.jaxb.internal.stax
Subclasses of HibernateException in org.hibernate.boot.jaxb.internal.staxModifier and TypeClassDescriptionclass
An error using XML infrastructure (jaxp, stax, etc). -
Uses of HibernateException in org.hibernate.boot.model.internal
Subclasses of HibernateException in org.hibernate.boot.model.internalModifier and TypeClassDescriptionclass
Indicates an internal attempt to mark a column as non-nullable (because it's part of a primary key, for example) when we cannot force that column to be non-nullable. -
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.model.source.internal.hbm
Methods in org.hibernate.boot.model.source.internal.hbm that throw HibernateExceptionModifier and TypeMethodDescriptionEntityHierarchyBuilder.buildHierarchies()
To be called after all mapping documents have been processed (viaEntityHierarchyBuilder.indexMappingDocument(org.hibernate.boot.model.source.internal.hbm.MappingDocument)
) -
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.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.internal.bytebuddy
Subclasses of HibernateException in org.hibernate.bytecode.internal.bytebuddyModifier and TypeClassDescriptionclass
class
-
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.internal
Methods in org.hibernate.cache.internal that throw HibernateExceptionModifier and TypeMethodDescriptionList<?>
QueryResultsCacheImpl.get
(QueryKey key, String[] spaces, SharedSessionContractImplementor session) List<?>
QueryResultsCacheImpl.get
(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session) EnabledCaching.getQueryResultsCache
(String regionName) boolean
QueryResultsCacheImpl.put
(QueryKey key, List<?> results, SharedSessionContractImplementor session) -
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, EventSource 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.internal
Methods in org.hibernate.context.internal that throw HibernateExceptionModifier and TypeMethodDescriptionJTASessionContext.currentSession()
final Session
ThreadLocalSessionContext.currentSession()
-
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.internal
Methods in org.hibernate.engine.internal that throw HibernateExceptionModifier and TypeMethodDescriptionStatefulPersistenceContext.addInitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) void
StatefulPersistenceContext.addInitializedDetachedCollection
(CollectionPersister collectionPersister, PersistentCollection<?> collection) void
StatefulPersistenceContext.addNewCollection
(CollectionPersister persister, PersistentCollection<?> collection) static <T> void
Cascade.cascade
(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent) Cascade an action from the parent entity instance to all its children.static <T> void
Cascade.cascade
(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, T anything) Cascade an action from the parent entity instance to all its children.void
StatefulPersistenceContext.checkUniqueness
(EntityKey key, Object object) Object[]
StatefulPersistenceContext.getDatabaseSnapshot
(Object id, EntityPersister persister) Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowStatefulPersistenceContext.getNaturalIdSnapshot
(Object id, EntityPersister persister) void
StatefulPersistenceContext.initializeNonLazyCollections()
StatefulPersistenceContext.narrowProxy
(Object proxy, EntityPersister persister, EntityKey key, Object object) StatefulPersistenceContext.proxyFor
(EntityPersister persister, EntityKey key, Object impl) StatefulPersistenceContext.unproxyAndReassociate
(Object maybeProxy) -
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.dialect.internal
Methods in org.hibernate.engine.jdbc.dialect.internal that throw HibernateExceptionModifier and TypeMethodDescriptionDialectFactoryImpl.buildDialect
(Map<String, Object> configValues, DialectResolutionInfoSource resolutionInfoSource) -
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
SharedSessionContractImplementor.autoFlushIfRequired
(Set<String> querySpaces) detect in-memory changes, determine if the changes are to tables named in the query and, if so, complete execution the flushdefault boolean
SharedSessionContractImplementor.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) SessionDelegatorBaseImpl.instantiate
(EntityPersister persister, Object id) SessionImplementor.instantiate
(EntityPersister persister, Object id) SharedSessionContractImplementor.instantiate
(String entityName, Object id) Instantiate the entity class, initializing with the given identifier.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) 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.internal
Methods in org.hibernate.engine.transaction.internal that throw HibernateExceptionModifier and TypeMethodDescriptionvoid
TransactionImpl.registerSynchronization
(Synchronization synchronization) -
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.envers
Methods in org.hibernate.envers that throw HibernateExceptionModifier and TypeMethodDescriptionAuditReader.getEntityName
(Object primaryKey, Number revision, Object entity) Get the entity name of an instance of an entity returned by this AuditReader. -
Uses of HibernateException in org.hibernate.envers.boot
Subclasses of HibernateException in org.hibernate.envers.bootModifier and TypeClassDescriptionclass
Indicates an error happened during the Envers mapping boot process. -
Uses of HibernateException in org.hibernate.envers.configuration.internal.metadata
Subclasses of HibernateException in org.hibernate.envers.configuration.internal.metadataModifier and TypeClassDescriptionclass
Exception indicating that a formula mapping was encountered where it is not currently supported -
Uses of HibernateException in org.hibernate.envers.exception
Subclasses of HibernateException in org.hibernate.envers.exceptionModifier and TypeClassDescriptionclass
class
class
-
Uses of HibernateException in org.hibernate.envers.internal.entities
Methods in org.hibernate.envers.internal.entities that throw HibernateExceptionModifier and TypeMethodDescriptionRevisionTypeType.assemble
(Serializable cached, Object owner) RevisionTypeType.deepCopy
(RevisionType value) RevisionTypeType.disassemble
(RevisionType value) boolean
RevisionTypeType.equals
(RevisionType x, RevisionType y) int
RevisionTypeType.hashCode
(RevisionType x) RevisionTypeType.replace
(RevisionType original, RevisionType target, Object owner) -
Uses of HibernateException in org.hibernate.envers.internal.entities.mapper.relation.lazy
Methods in org.hibernate.envers.internal.entities.mapper.relation.lazy that throw HibernateExceptionModifier and TypeMethodDescriptionToOneDelegateSessionImplementor.doImmediateLoad
(String entityName) AbstractDelegateSessionImplementor.immediateLoad
(String entityName, Object id) -
Uses of HibernateException in org.hibernate.envers.internal.reader
Methods in org.hibernate.envers.internal.reader that throw HibernateExceptionModifier and TypeMethodDescriptionAuditReaderImpl.getEntityName
(Object primaryKey, Number revision, Object entity) -
Uses of HibernateException in org.hibernate.event.internal
Methods in org.hibernate.event.internal that throw HibernateExceptionModifier and TypeMethodDescriptionprotected void
DefaultDeleteEventListener.cascadeAfterDelete
(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities) protected void
DefaultMergeEventListener.cascadeAfterSave
(EventSource source, EntityPersister persister, Object entity, MergeContext anything) Cascade behavior is redefined by this subclass, disable superclass behaviorprotected void
DefaultDeleteEventListener.cascadeBeforeDelete
(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities) protected void
DefaultMergeEventListener.cascadeBeforeSave
(EventSource source, EntityPersister persister, Object entity, MergeContext anything) Cascade behavior is redefined by this subclass, disable superclass behaviorvoid
DefaultFlushEntityEventListener.checkId
(Object object, EntityPersister persister, Object id, Status status, SessionImplementor session) Make sure user didn't mangle the id.protected void
DefaultFlushEntityEventListener.dirtyCheck
(FlushEntityEvent event) Perform a dirty check, and attach the results to the eventprotected void
DefaultEvictEventListener.doEvict
(Object object, EntityKey key, EntityPersister persister, EventSource session) protected void
AbstractFlushingEventListener.flushEverythingToExecutions
(FlushEvent event) Coordinates the processing necessary to get things ready for executions as db calls by preping the session caches and moving the appropriate entities and collections to their respective execution queues.protected final boolean
DefaultFlushEntityEventListener.isUpdateNecessary
(FlushEntityEvent event) Performs all necessary checking to determine if an entity needs an SQL update to synchronize its state to the database.void
DefaultAutoFlushEventListener.onAutoFlush
(AutoFlushEvent event) Handle the given auto-flush event.void
DefaultAutoFlushEventListener.onAutoPreFlush
(EventSource source) void
DefaultDeleteEventListener.onDelete
(DeleteEvent event) Handle the given delete event.void
DefaultDeleteEventListener.onDelete
(DeleteEvent event, DeleteContext transientEntities) Handle the given delete event.void
DefaultDirtyCheckEventListener.onDirtyCheck
(DirtyCheckEvent event) Handle the given dirty-check event.void
DefaultEvictEventListener.onEvict
(EvictEvent event) Handle the given evict event.void
DefaultFlushEventListener.onFlush
(FlushEvent event) Handle the given flush event.void
DefaultFlushEntityEventListener.onFlushEntity
(FlushEntityEvent event) Flushes a single entity's state to the database, by scheduling an update action, if necessaryvoid
DefaultInitializeCollectionEventListener.onInitializeCollection
(InitializeCollectionEvent event) called by a collection that wants to initialize itselfvoid
DefaultLoadEventListener.onLoad
(LoadEvent event, LoadEventListener.LoadType loadType) Handle the given load event.void
Handle the given lock event.void
DefaultMergeEventListener.onMerge
(MergeEvent event) Handle the given merge event.void
DefaultMergeEventListener.onMerge
(MergeEvent event, MergeContext copiedAlready) Handle the given merge event.void
DefaultPersistEventListener.onPersist
(PersistEvent event) Handle the given create event.void
DefaultPersistEventListener.onPersist
(PersistEvent event, PersistContext createCache) Handle the given create event.void
DefaultRefreshEventListener.onRefresh
(RefreshEvent event) void
DefaultResolveNaturalIdEventListener.onResolveNaturalId
(ResolveNaturalIdEvent event) protected void
AbstractFlushingEventListener.postFlush
(SessionImplementor session) 1.void
AbstractVisitor.process
(Object object, EntityPersister persister) Walk the tree starting from the given entity.void
WrapVisitor.process
(Object object, EntityPersister persister) OnLockVisitor.processCollection
(Object collection, CollectionType type) OnReplicateVisitor.processCollection
(Object collection, CollectionType type) protected Object
WrapVisitor.processCollection
(Object collection, CollectionType collectionType) protected Object
WrapVisitor.processComponent
(Object component, CompositeType componentType) void
AbstractVisitor.processEntityPropertyValues
(Object[] values, Type[] types) Dispatch each property value to processValue().protected void
ProxyVisitor.reattachCollection
(PersistentCollection<?> collection, CollectionType type) Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper -
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
ResolveNaturalIdEventListener.onResolveNaturalId
(ResolveNaturalIdEvent event) Handle the given resolve natural id 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 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
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 of the 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)? sub-graph to an attribute type that does not support (key)? sub-graphs.class
Thrown byGraphParser
to indicate textual entity graph representation parsing errors. -
Uses of HibernateException in org.hibernate.hikaricp.internal
Methods in org.hibernate.hikaricp.internal that throw HibernateException -
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.internal
Methods in org.hibernate.internal with parameters of type HibernateExceptionModifier and TypeMethodDescriptionExceptionConverterImpl.convert
(HibernateException exception) ExceptionConverterImpl.convert
(HibernateException exception, LockOptions lockOptions) void
CoreMessageLogger.unableToCreateProxyFactory
(String entityName, HibernateException e) void
CoreMessageLogger.unableToLoadCommand
(HibernateException e) protected PersistenceException
ExceptionConverterImpl.wrapLockException
(HibernateException exception, LockOptions lockOptions) Methods in org.hibernate.internal that throw HibernateExceptionModifier and TypeMethodDescriptionboolean
SessionImpl.autoFlushIfRequired
(Set<String> querySpaces) boolean
SessionImpl.autoFlushIfRequired
(Set<String> querySpaces, boolean skipPreFlush) boolean
StatelessSessionImpl.autoFlushIfRequired
(Set<String> querySpaces) void
SessionImpl.cancelQuery()
void
SessionFactoryImpl.close()
Closes the session factory, releasing all held resources.void
SessionImpl.close()
void
SessionImpl.closeWithoutOpenChecks()
void
SessionImpl.delete
(String entityName, Object object, boolean isCascadeDeleteEnabled, DeleteContext transientEntities) <T> T
AbstractSharedSessionContract.doReturningWork
(ReturningWork<T> work) void
void
remove any hard references to the entity that are held by the infrastructure (references held by application or other persistent instances are okay)void
SessionImpl.flush()
void
SessionImpl.forceFlush
(EntityEntry entityEntry) void
SessionImpl.forceFlush
(EntityKey key) final R
AbstractScrollableResults.get()
<T> T
<T> T
<T> T
SessionImpl.get
(Class<T> entityClass, Object id, LockOptions lockOptions) SessionImpl.get
(String entityName, Object id, LockOptions lockOptions) SessionImpl.getCurrentLockMode
(Object object) SessionFactoryImpl.getCurrentSession()
StatelessSessionImpl.getEntityPersister
(String entityName, Object object) SessionImpl.getEntityUsingInterceptor
(EntityKey key) StatelessSessionImpl.getEntityUsingInterceptor
(EntityKey key) SessionFactoryImpl.getFilterDefinition
(String filterName) SessionImpl.getIdentifier
(Object object) StatelessSessionImpl.getIdentifier
(Object entity) int
ScrollableResultsImpl.getRowNumber()
AbstractSharedSessionContract.getTransaction()
SessionImpl.guessEntityName
(Object object) StatelessSessionImpl.guessEntityName
(Object entity) SessionImpl.immediateLoad
(String entityName, Object id) Load the data for the object with the specified id into a newly created object.StatelessSessionImpl.immediateLoad
(String entityName, Object id) void
StatelessSessionImpl.initializeCollection
(PersistentCollection<?> collection, boolean writing) SessionImpl.instantiate
(String entityName, Object id) SessionImpl.instantiate
(EntityPersister persister, Object id) give the interceptor an opportunity to override the default instantiationStatelessSessionImpl.instantiate
(String entityName, Object id) StatelessSessionImpl.instantiate
(EntityPersister persister, Object id) StatelessSessionImpl.internalLoad
(String entityName, Object id, boolean eager, boolean nullable) boolean
SessionImpl.isDirty()
void
Deprecated.void
void
SessionImpl.merge
(String entityName, Object object, MergeContext copiedAlready) <T> T
<T> T
SessionImpl.merge
(T object) SessionFactoryImpl.openSession()
SessionFactoryImpl.openTemporarySession()
void
void
void
SessionImpl.persist
(String entityName, Object object, PersistContext copiedAlready) void
void
void
SessionImpl.refresh
(Object object, LockOptions lockOptions) void
SessionImpl.refresh
(String entityName, Object object, RefreshContext refreshedAlready) void
SessionImpl.replicate
(Object obj, ReplicationMode replicationMode) void
SessionImpl.replicate
(String entityName, Object obj, ReplicationMode replicationMode) void
StatelessSessionImpl.setDefaultReadOnly
(boolean readOnly) FilterImpl.setParameterList
(String name, Collection<?> values) Set the named parameter's value list for this filter.boolean
ScrollableResultsImpl.setRowNumber
(int rowNumber) void
FilterImpl.validate()
Perform validation of the filter state. -
Uses of HibernateException in org.hibernate.internal.util
Methods in org.hibernate.internal.util that throw HibernateExceptionModifier and TypeMethodDescriptionstatic InputStream
ConfigHelper.getConfigStream
(String path) Deprecated.Open an InputStream to the URL represented by the incoming path.void
EntityPrinter.toString
(Iterable<Map.Entry<EntityKey, EntityHolder>> entitiesByEntityKey) Renders an entity to a string.EntityPrinter.toString
(Map<String, TypedValue> namedTypedValues) -
Uses of HibernateException in org.hibernate.internal.util.beans
Subclasses of HibernateException in org.hibernate.internal.util.beansModifier and TypeClassDescriptionclass
Indicates a problem dealing withBeanInfo
via theBeanInfoHelper
delegate. -
Uses of HibernateException in org.hibernate.internal.util.config
Subclasses of HibernateException in org.hibernate.internal.util.config -
Uses of HibernateException in org.hibernate.internal.util.xml
Subclasses of HibernateException in org.hibernate.internal.util.xmlModifier and TypeClassDescriptionclass
Indicates an issue finding or loading an XSD schema. -
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.jpa.internal.util
Subclasses of HibernateException in org.hibernate.jpa.internal.util -
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.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that throw HibernateExceptionModifier and TypeMethodDescriptionCacheEntityLoaderHelper.loadFromSessionCache
(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options) Attempts to locate the entity in the session-level cache. -
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.metamodel.model.domain
Methods in org.hibernate.metamodel.model.domain that throw HibernateException -
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, EventSource session) void
AbstractEntityPersister.lock
(Object id, Object version, Object object, LockOptions lockOptions, EventSource 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.internal
Methods in org.hibernate.query.internal that return types with arguments of type HibernateExceptionModifier and TypeMethodDescriptionNamedObjectRepositoryImpl.checkNamedQueries
(QueryEngine queryEngine) -
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.sql.internal
Subclasses of HibernateException in org.hibernate.query.sqm.sql.internalModifier and TypeClassDescriptionclass
Indicates a problem performing a dynamic instantiation -
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.beans.container.internal
Subclasses of HibernateException in org.hibernate.resource.beans.container.internalModifier and TypeClassDescriptionclass
Exception indicating that the given class is not known as a CDI bean - triggers fallback handlingclass
Exception indicating an attempt to access the CDI BeanManager before it is ready for use -
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.backend.jdbc.internal
Methods in org.hibernate.resource.transaction.backend.jdbc.internal that throw HibernateExceptionModifier and TypeMethodDescription<T> T
JdbcIsolationDelegate.delegateCallable
(Callable<T> callable, boolean transacted) <T> T
JdbcIsolationDelegate.delegateWork
(WorkExecutorVisitable<T> work, boolean transacted) -
Uses of HibernateException in org.hibernate.resource.transaction.backend.jta.internal
Modifier and TypeClassDescriptionclass
Indicates problems accessing TransactionManager or UserTransaction through the JtaPlatformMethods in org.hibernate.resource.transaction.backend.jta.internal that throw HibernateExceptionModifier and TypeMethodDescription<T> T
JtaIsolationDelegate.delegateCallable
(Callable<T> callable, boolean transacted) <T> T
JtaIsolationDelegate.delegateWork
(WorkExecutorVisitable<T> work, boolean transacted) -
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.internal
Subclasses of HibernateException in org.hibernate.service.internalModifier and TypeClassDescriptionclass
Indicates a problem processing service dependencies.class
Indicates a problem generating a service proxy -
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.testing.junit4
Methods in org.hibernate.testing.junit4 that throw HibernateExceptionModifier and TypeMethodDescriptionprotected Session
BaseCoreFunctionalTestCase.openSession()
protected Session
BaseCoreFunctionalTestCase.openSession
(Interceptor interceptor) protected Session
BaseNonConfigCoreFunctionalTestCase.openSession()
protected Session
BaseNonConfigCoreFunctionalTestCase.openSession
(Interceptor interceptor) -
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.internal
Methods in org.hibernate.tool.schema.internal that throw HibernateExceptionModifier and TypeMethodDescriptionStandardTableMigrator.sqlAlterStrings
(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context) -
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.tuple.entity
Subclasses of HibernateException in org.hibernate.tuple.entity -
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) EnumType.assemble
(Serializable cached, Object owner) Deprecated, for removal: This API element is subject to removal in a future version.ManyToOneType.assemble
(Serializable oid, SharedSessionContractImplementor session, Object owner) OneToOneType.assemble
(Serializable oid, SharedSessionContractImplementor session, Object owner) final Object
SerializableToBlobType.assemble
(Serializable cached, 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) Deprecated, for removal: This API element is subject to removal in a future version.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) CustomType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) EnumType.disassemble
(T value) Deprecated, for removal: This API element is subject to removal in a future version.ManyToOneType.disassemble
(Object value, SessionFactoryImplementor sessionFactory) ManyToOneType.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) final Serializable
SerializableToBlobType.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) boolean
Deprecated, for removal: This API element is subject to removal in a future version.MetaType.fromXMLString
(String xml, Mapping factory) Deprecated.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) 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 instanceint
Deprecated, for removal: This API element is subject to removal in a future version.ArrayType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister, Object key) BagType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister, Object key) CustomCollectionType.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) final void
SerializableToBlobType.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, 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.protected String
CustomCollectionType.renderLoggableString
(Object value, SessionFactoryImplementor factory) 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) CustomType.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) Deprecated, for removal: This API element is subject to removal in a future version.@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) CustomCollectionType.replaceElements
(Object original, Object target, Object owner, Map 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) protected final Object
EntityType.resolveIdentifier
(Object id, SharedSessionContractImplementor session, Boolean overridingEager) 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.type.internal
Methods in org.hibernate.type.internal that throw HibernateExceptionModifier and TypeMethodDescriptionfinal Object
ConvertedBasicTypeImpl.assemble
(Serializable cached, SharedSessionContractImplementor session, Object owner) final Serializable
ConvertedBasicTypeImpl.disassemble
(Object value, SharedSessionContractImplementor session, Object owner) final void
ConvertedBasicTypeImpl.nullSafeSet
(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) -
Uses of HibernateException in org.hibernate.usertype
Methods in org.hibernate.usertype that throw HibernateExceptionModifier and TypeMethodDescriptionBaseUserTypeSupport.assemble
(Serializable cached, Object owner) StaticUserTypeSupport.assemble
(Serializable cached, Object owner) BaseUserTypeSupport.disassemble
(T value) StaticUserTypeSupport.disassemble
(T value) boolean
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
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. -
Uses of HibernateException in org.hibernate.usertype.internal
Methods in org.hibernate.usertype.internal that throw HibernateExceptionModifier and TypeMethodDescriptionOffsetDateTimeCompositeUserType.getPropertyValue
(OffsetDateTime component, int property) OffsetTimeCompositeUserType.getPropertyValue
(OffsetTime component, int property) ZonedDateTimeCompositeUserType.getPropertyValue
(ZonedDateTime component, int property)
FilterDefinition
is an SPI type, and so this operation is a layer-breaker.