Uses of Class
org.hibernate.HibernateException
-
Packages that use HibernateException Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, which represents an instance of Hibernate at runtime and is the source of new instances ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.action.internal The various concrete action implementations.org.hibernate.action.spi This SPI package defines an abstraction over the notion of an "action" which is scheduled for asynchronous execution by the event listeners.org.hibernate.agroal.internal Implementation of ConnectionProvider using Agroal.org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.archive.spi org.hibernate.boot.beanvalidation Support for integrating Jakarta Bean Validation.org.hibernate.boot.jaxb.internal.stax Contains basic support for Java XML Processing (JAXP) via Streaming API for XML (StAX)org.hibernate.boot.model.internal org.hibernate.boot.model.naming This API allows intervention by generic code in the process of determining the names of database objects (tables, columns, and constraints).org.hibernate.boot.model.source.internal.hbm org.hibernate.boot.registry.classloading.spi The class loading service SPI.org.hibernate.boot.registry.selector.spi Defines actual contract used for strategy selection.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.bytecode.enhance org.hibernate.bytecode.enhance.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.bytecode.internal.bytebuddy Byte Buddy support internalsorg.hibernate.bytecode.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.cache This package defines the API of the second-level cache service.org.hibernate.cache.internal Internal implementations and support for second-level caching.org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching, allowing a "caching backend" to be plugged in as a cache provider.org.hibernate.cache.spi.access Defines contracts for transactional and concurrent access to cached entity and collection data.org.hibernate.cache.spi.entry This package defines formats for disassembled state kept in the second level cache.org.hibernate.cfg This package defines APIs for configuring Hibernate.org.hibernate.collection.spi This package defines the SPI of a framework for lazy-initializing and state-tracking collection wrappers.org.hibernate.context org.hibernate.context.internal Internal implementations and support around "current session" handling.org.hibernate.context.spi SPI-level contracts around "current session" and "current tenant" support.org.hibernate.dialect.lock Support forDialect
-specific locking strategies.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.jdbc.dialect.internal Internal support for Dialect resolution (from JDBC metadata) and Dialect building.org.hibernate.engine.jdbc.dialect.spi Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.org.hibernate.engine.jdbc.mutation.group org.hibernate.engine.jndi Support for JNDI within Hibernateorg.hibernate.engine.query Support for dealing with parameters of native queries.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.engine.transaction.internal org.hibernate.engine.transaction.jta.platform.spi An SPI for integrating with container-provided implementations of JTA.org.hibernate.envers org.hibernate.envers.boot org.hibernate.envers.configuration.internal.metadata org.hibernate.envers.exception org.hibernate.envers.internal.entities org.hibernate.envers.internal.entities.mapper.relation.lazy org.hibernate.envers.internal.reader org.hibernate.event.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.org.hibernate.event.service.spi An SPI for the event listener registration service.org.hibernate.event.spi Defines the event types and event listener interfaces for events produced by the statefulSession
.org.hibernate.exception Defines certain very important flavors ofJDBCException
, along with an SPI for interpreting product-specificSQLException
s arising from a JDBC driver into something more uniform and meaningful.org.hibernate.graph Implements and extends the JPA-defined entity graph API.org.hibernate.hikaricp.internal Implementation of ConnectionProvider using HikariCP.org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced
, contain the built-in id generators, all of which implement eitherIdentifierGenerator
orPostInsertIdentifierGenerator
.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.internal.util Internal utility classesorg.hibernate.internal.util.beans org.hibernate.internal.util.config org.hibernate.internal.util.xml org.hibernate.jdbc 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.org.hibernate.jpa.internal.util org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.hibernate.loader.ast.internal org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metadata This package defines an API for accessing details about model mapping.org.hibernate.metamodel This package defines an API for accessing the runtime metamodel describing persistent entities in Java and their mappings to the relational database schema.org.hibernate.metamodel.mapping.ordering.ast org.hibernate.metamodel.model.domain Defines the runtime domain metamodel, which describes the Java aspect of the application's domain model parts (entities, attributes).org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.internal Built-in implementation of the SPI for integrating entity and collection persisters.org.hibernate.persister.spi An SPI for integrating custom entity and collection persisters.org.hibernate.procedure Defines support for executing database stored procedures and functions and accessing their outputs.org.hibernate.property.access.spi An SPI abstracting how persistent attributes of an entity or embeddable type are accessed by Hibernate.org.hibernate.proxool.internal Implementation of ConnectionProvider using the proxool Connection pool.org.hibernate.proxy This package defines a framework for lazy-initializing entity proxies.org.hibernate.proxy.pojo.bytebuddy org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.hql Package defining support for HQL, including JPQL as a subset of HQL.org.hibernate.query.internal org.hibernate.query.named Support for named queriesorg.hibernate.query.results Support for defining result set mappings used inNativeQuery
,ProcedureCall
, andStoredProcedureQuery
.org.hibernate.query.spi Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.org.hibernate.query.sqm This package defines a semantic model of HQL queries.org.hibernate.query.sqm.produce.function Package defining support forSqmFunctionDescriptor
handling.org.hibernate.query.sqm.sql Package for the translation of SQM into SQL ASTorg.hibernate.query.sqm.sql.internal org.hibernate.query.sqm.tree.expression Nodes representing expressions in the SQM tree.org.hibernate.resource.beans.container.internal An implementation of the bean container SPI based on CDI.org.hibernate.resource.transaction Defines the resource-level transaction capabilities of Hibernate, centered around theTransactionCoordinator
contract.org.hibernate.resource.transaction.backend.jdbc.internal An implementation ofTransactionCoordinator
based onJdbcResourceTransaction
.org.hibernate.resource.transaction.backend.jta.internal Implementations ofTransactionCoordinator
based on JTA.org.hibernate.resource.transaction.spi Extended SPI contracts for the resource-level transaction capabilities of Hibernate.org.hibernate.result Defines support for dealing with results returned from database via JDBC.org.hibernate.service Defines a framework for pluggable services, allowing for customization of key components of Hibernate, and abstraction of these components as SPI interfaces.org.hibernate.service.internal Implementation of the SPI for integrating pluggable services.org.hibernate.service.spi Defines an SPI for integrating pluggable services.org.hibernate.sql.ast Package defining a SQL AST for use in generation of SQL.org.hibernate.sql.ast.tree.from AST nodes representing root tables and joins in a SQL tree.org.hibernate.sql.exec Support for execution of SQL statements via JDBC.org.hibernate.sql.results Package for processing JDBCResultSet
s into hydrated domain model graphs based on a "load plan" defined by a "domain result graph", that is, one or moreDomainResult
nodes with zero or moreFetch
nodes.org.hibernate.testing.junit4 org.hibernate.tool.schema.extract.spi Defines an SPI for schema information extraction from the database via JDBC.org.hibernate.tool.schema.internal An implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.org.hibernate.tool.schema.spi An SPI for tooling related to DDL generation, export, migration, and validation.org.hibernate.tuple.entity org.hibernate.type A HibernateType
is a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.descriptor.java Integrates a range of types defined by the JDK with the type system of Hibernate.org.hibernate.type.descriptor.java.spi org.hibernate.type.internal org.hibernate.usertype An API for user-defined custom types which extend the set of built-in types defined inorg.hibernate.type
.org.hibernate.usertype.internal -
-
Uses of HibernateException in org.hibernate
Subclasses of HibernateException in org.hibernate Modifier and Type Class Description class
AnnotationException
An exception that occurs while reading mapping annotations.class
CallbackException
Intended to be thrown fromLifecycle
andInterceptor
callbacks.class
DuplicateMappingException
Raised whenever a duplicate for a certain type occurs, such as a duplicate class, table, or property name.class
HibernateError
Marks a group of exceptions that generally indicate an internal Hibernate error or bug.class
InstantiationException
Thrown if Hibernate can't instantiate a class at runtime.class
InvalidMappingException
Thrown when a mapping is found to be invalid.class
JDBCException
Wraps aSQLException
arising from the JDBC driver.class
LazyInitializationException
Indicates an attempt to access unfetched data outside the context of an open statefulSession
.class
MappingException
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
NonUniqueObjectException
This exception is thrown when an operation would break session-scoped identity.class
NonUniqueResultException
Thrown when the application callsQuery.getSingleResult()
orQuery.uniqueResult()
and the query returns more than one row from the database.class
ObjectDeletedException
Thrown when the user tries to do something illegal with a deleted object.class
ObjectNotFoundException
Thrown whenEntityManager.find(Class, Object)
fails to select a row with the given primary key (identifier value).class
PersistentObjectException
Thrown when the user passes a persistent instance to aSession
method that expects a transient instance.class
PessimisticLockException
Thrown when a pessimistic locking conflict occurs.class
PropertyAccessException
A problem occurred accessing a property of an instance of a persistent class by reflection, or via enhanced entities.class
PropertyNotFoundException
Indicates that an expected getter or setter method could not be found on a class.class
PropertySetterAccessException
class
PropertyValueException
Thrown when the (illegal) value of a property can not be persisted.class
QueryException
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
QueryParameterException
Indicates a problem with the runtime arguments bound to query parameters.class
QueryTimeoutException
Thrown when a database query timeout occurs.class
ResourceClosedException
Indicates an attempt was made to use a closed resource, such as a closedSession
orSessionFactory
.class
SessionException
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
StaleObjectStateException
A specializedStaleStateException
that carries information about the particular entity instance that was the source of the failure.class
StaleStateException
Thrown when a version number or timestamp check failed, indicating that theSession
contained stale data (when using long transactions with versioning).class
TransactionException
Indicates that a transaction could not be begun, committed or rolled back.class
TransientObjectException
Thrown when the user passes a transient instance to aSession
method that expects a persistent instance.class
TransientPropertyValueException
Thrown when a property cannot be persisted because it is an association with a transient unsaved entity instance.class
TypeMismatchException
Used when a user provided type does not match the expected one.class
UnknownEntityTypeException
Indicates an attempt was made to refer to an unknown entity name or class.class
UnknownFilterException
Indicates a request against an unknown filter name.class
UnknownProfileException
Indicates a request against an unknown fetch profile name.class
UnresolvableObjectException
Thrown when Hibernate could not resolve an object by id, especially when loading an association.class
UnsupportedLockAttemptException
This exception is thrown when an invalidLockMode
is selected for an entity.class
WrongClassException
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 HibernateException Modifier and Type Method Description void
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.default <T> T
SharedSessionContract. doReturningWork(ReturningWork<T> work)
Perform work using theConnection
underlying by this session, and return a result.default void
SharedSessionContract. doWork(Work work)
Perform work using theConnection
underlying by this session.Session
SessionFactory. getCurrentSession()
Obtains the current session, an instance ofSession
implicitly associated with some context or scope.FilterDefinition
SessionFactory. getFilterDefinition(String filterName)
Deprecated.There is no plan to remove this operation, but its use should be avoided sinceFilterDefinition
is an SPI type, and so this operation is a layer-breaker.static void
Hibernate. initialize(Object proxy)
Force initialization of a proxy or persistent collection.Session
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.internal Modifier and Type Class Description class
EntityActionVetoException
An exception indicating that anEntityAction
was vetoed.Methods in org.hibernate.action.internal that throw HibernateException Modifier and Type Method Description void
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 HibernateException Modifier and Type Method Description void
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 Modifier and Type Method Description void
AgroalConnectionProvider. configure(Map<String,Object> props)
-
Uses of HibernateException in org.hibernate.boot
Subclasses of HibernateException in org.hibernate.boot Modifier and Type Class Description class
InvalidMappingException
Indicates a problem parsing the mapping document at a givenOrigin
.class
MappingException
Indicates a problem parsing a mapping document.class
MappingNotFoundException
Indicates that a mapping document could not be found at a givenOrigin
.class
UnsupportedOrmXsdVersionException
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.spi Modifier and Type Class Description class
ArchiveException
Indicates a problem accessing or visiting the archive -
Uses of HibernateException in org.hibernate.boot.beanvalidation
Subclasses of HibernateException in org.hibernate.boot.beanvalidation Modifier and Type Class Description class
IntegrationException
Indicates a problem integrating Hibernate and the Bean Validation spec. -
Uses of HibernateException in org.hibernate.boot.jaxb.internal.stax
Subclasses of HibernateException in org.hibernate.boot.jaxb.internal.stax Modifier and Type Class Description class
XmlInfrastructureException
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.internal Modifier and Type Class Description class
CannotForceNonNullableException
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.naming Modifier and Type Class Description class
IllegalIdentifierException
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 HibernateException Modifier and Type Method Description List<EntityHierarchySourceImpl>
EntityHierarchyBuilder. 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.registry.classloading.spi
Subclasses of HibernateException in org.hibernate.boot.registry.classloading.spi Modifier and Type Class Description class
ClassLoadingException
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.spi Modifier and Type Class Description class
StrategySelectionException
Indicates a problem performing the selection/resolution. -
Uses of HibernateException in org.hibernate.boot.spi
Subclasses of HibernateException in org.hibernate.boot.spi Modifier and Type Class Description static class
InFlightMetadataCollector.DuplicateSecondaryTableException
-
Uses of HibernateException in org.hibernate.bytecode.enhance
Subclasses of HibernateException in org.hibernate.bytecode.enhance Modifier and Type Class Description class
VersionMismatchException
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.spi Modifier and Type Class Description class
EnhancementException
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.bytebuddy Modifier and Type Class Description class
InvalidPropertyAccessorException
class
PrivateAccessorException
-
Uses of HibernateException in org.hibernate.bytecode.spi
Subclasses of HibernateException in org.hibernate.bytecode.spi Modifier and Type Class Description class
NotInstrumentedException
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.cache Modifier and Type Class Description class
CacheException
Something went wrong in the cache.class
NoCacheRegionFactoryAvailableException
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 HibernateException Modifier and Type Method Description List<?>
QueryResultsCacheImpl. get(QueryKey key, String[] spaces, SharedSessionContractImplementor session)
List<?>
QueryResultsCacheImpl. get(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session)
QueryResultsCache
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 HibernateException Modifier and Type Method Description default 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.access Modifier and Type Class Description class
UnknownAccessTypeException
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 HibernateException Modifier and Type Method Description Object[]
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 HibernateException Constructor Description StandardCacheEntryImpl(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner)
Constructs a StandardCacheEntryImpl -
Uses of HibernateException in org.hibernate.cfg
Subclasses of HibernateException in org.hibernate.cfg Modifier and Type Class Description class
RecoverableException
Deprecated.Was only ever referenced in a single place, in an extremely dubious way.Methods in org.hibernate.cfg that throw HibernateException Modifier and Type Method Description SessionFactory
Configuration. buildSessionFactory()
Create aSessionFactory
using the properties and mappings in this configuration.SessionFactory
Configuration. buildSessionFactory(ServiceRegistry serviceRegistry)
Create aSessionFactory
using the properties and mappings in this configuration.Configuration
Configuration. configure()
Use the mappings and properties specified in an application resource namedhibernate.cfg.xml
.Configuration
Configuration. configure(File configFile)
Use the mappings and properties specified in the given application file.Configuration
Configuration. configure(String resource)
Use the mappings and properties specified in the given application resource.Configuration
Configuration. configure(URL url)
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 HibernateException Modifier and Type Method Description void
AbstractPersistentCollection. afterRowInsert(CollectionPersister persister, Object entry, int i)
void
PersistentIdentifierBag. afterRowInsert(CollectionPersister persister, Object entry, int i)
Object
PersistentArrayHolder. disassemble(CollectionPersister persister)
Object
PersistentList. disassemble(CollectionPersister persister)
Object
PersistentMap. disassemble(CollectionPersister persister)
Object
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)
void
AbstractPersistentCollection. forceInitialization()
Iterator
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 orphansCollection
PersistentArrayHolder. getOrphans(Serializable snapshot, String entityName)
Collection<E>
PersistentBag. getOrphans(Serializable snapshot, String entityName)
Collection<E>
PersistentIdentifierBag. getOrphans(Serializable snapshot, String entityName)
Collection<E>
PersistentList. getOrphans(Serializable snapshot, String entityName)
Collection<E>
PersistentMap. getOrphans(Serializable snapshot, String entityName)
Collection<E>
PersistentSet. getOrphans(Serializable snapshot, String entityName)
Serializable
PersistentArrayHolder. getSnapshot(CollectionPersister persister)
Serializable
PersistentBag. getSnapshot(CollectionPersister persister)
Serializable
PersistentIdentifierBag. getSnapshot(CollectionPersister persister)
Serializable
PersistentList. getSnapshot(CollectionPersister persister)
Serializable
PersistentMap. getSnapshot(CollectionPersister persister)
Serializable
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)
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.context Modifier and Type Class Description class
TenantIdentifierMismatchException
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 HibernateException Modifier and Type Method Description Session
JTASessionContext. currentSession()
Session
ThreadLocalSessionContext. currentSession()
-
Uses of HibernateException in org.hibernate.context.spi
Methods in org.hibernate.context.spi that throw HibernateException Modifier and Type Method Description Session
CurrentSessionContext. 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.lock Modifier and Type Class Description class
LockingStrategyException
Represents an error trying to apply aLockingStrategy
to an entityclass
OptimisticEntityLockException
Represents an error trying to apply an optimisticLockingStrategy
to an entityclass
PessimisticEntityLockException
Represents an error trying to apply a pessimisticLockingStrategy
to an entityMethods in org.hibernate.dialect.lock that return HibernateException Modifier and Type Method Description protected 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 HibernateException Modifier and Type Method Description CollectionEntry
StatefulPersistenceContext. 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 rowObject
StatefulPersistenceContext. getNaturalIdSnapshot(Object id, EntityPersister persister)
void
StatefulPersistenceContext. initializeNonLazyCollections()
Object
StatefulPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)
Object
StatefulPersistenceContext. proxyFor(Object impl)
Object
StatefulPersistenceContext. proxyFor(EntityHolder holder)
Object
StatefulPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)
Object
StatefulPersistenceContext. unproxy(Object maybeProxy)
Object
StatefulPersistenceContext. unproxyAndReassociate(Object maybeProxy)
-
Uses of HibernateException in org.hibernate.engine.jdbc.dialect.internal
Methods in org.hibernate.engine.jdbc.dialect.internal that throw HibernateException Modifier and Type Method Description Dialect
DialectFactoryImpl. 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 HibernateException Modifier and Type Method Description Dialect
DialectFactory. 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.group Modifier and Type Class Description class
UnknownParameterException
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.jndi Modifier and Type Class Description class
JndiException
An exception indicating trouble accessing JNDIclass
JndiNameException
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.query Modifier and Type Class Description class
ParameterRecognitionException
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 HibernateException Modifier and Type Method Description RuntimeException
ExceptionConverter. 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.RuntimeException
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 HibernateException Modifier and Type Method Description boolean
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
SessionDelegatorBaseImpl. doWork(Work work)
void
SessionLazyDelegator. doWork(Work work)
void
SharedSessionDelegatorBaseImpl. doWork(Work work)
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.Session
SessionFactoryDelegatingImpl. getCurrentSession()
EntityPersister
SessionDelegatorBaseImpl. getEntityPersister(@Nullable String entityName, Object object)
EntityPersister
SharedSessionContractImplementor. getEntityPersister(@Nullable String entityName, Object object)
Get theEntityPersister
for the given entity instance.EntityPersister
SharedSessionDelegatorBaseImpl. getEntityPersister(@Nullable String entityName, Object object)
Object
SessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)
Object
SharedSessionContractImplementor. getEntityUsingInterceptor(EntityKey key)
Get the entity instance associated with the givenEntityKey
, calling theInterceptor
if necessary.Object
SharedSessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)
FilterDefinition
SessionFactoryDelegatingImpl. getFilterDefinition(String filterName)
Deprecated.Collection<?>
CollectionEntry. getOrphans(String entityName, PersistentCollection<?> collection)
Get the collection orphans (entities which were removed from the collection)String
SessionDelegatorBaseImpl. guessEntityName(Object entity)
String
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
.String
SharedSessionDelegatorBaseImpl. guessEntityName(Object entity)
Object
SessionDelegatorBaseImpl. immediateLoad(String entityName, Object id)
Object
SharedSessionContractImplementor. immediateLoad(String entityName, Object id)
Load an instance immediately.Object
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)Object
SessionDelegatorBaseImpl. instantiate(String entityName, Object id)
Object
SessionDelegatorBaseImpl. instantiate(EntityPersister persister, Object id)
Object
SessionImplementor. instantiate(EntityPersister persister, Object id)
Object
SharedSessionContractImplementor. instantiate(String entityName, Object id)
Instantiate the entity class, initializing with the given identifier.Object
SharedSessionContractImplementor. instantiate(EntityPersister persister, Object id)
Instantiate the entity class of the givenEntityPersister
, initializing the new instance with the given identifier.Object
SharedSessionDelegatorBaseImpl. instantiate(String entityName, Object id)
Object
SharedSessionDelegatorBaseImpl. instantiate(EntityPersister persister, Object id)
Object
SessionDelegatorBaseImpl. internalLoad(String entityName, Object id, boolean eager, boolean nullable)
Object
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.Object
SharedSessionDelegatorBaseImpl. internalLoad(String entityName, Object id, boolean eager, boolean nullable)
boolean
SessionDelegatorBaseImpl. isDirty()
void
SessionDelegatorBaseImpl. merge(String entityName, Object object, MergeContext copiedAlready)
void
SessionImplementor. merge(String entityName, Object object, MergeContext copiedAlready)
Deprecated.OperationalContext should cover this overload I believeSessionImplementor
SessionFactoryDelegatingImpl. openSession()
SessionImplementor
SessionFactoryDelegatingImpl. openTemporarySession()
SessionImplementor
SessionFactoryImplementor. openTemporarySession()
Get a non-transactional "current" session (used by hibernate-envers)void
SessionDelegatorBaseImpl. persist(String entityName, Object object, PersistContext createdAlready)
void
SessionImplementor. persist(String entityName, Object object, PersistContext createdAlready)
Deprecated.OperationalContext should cover this overload I believevoid
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.void
SessionDelegatorBaseImpl. refresh(String entityName, Object object, RefreshContext refreshedAlready)
void
SessionImplementor. refresh(String entityName, Object object, RefreshContext refreshedAlready)
Deprecated.OperationalContext should cover this overload I believe -
Uses of HibernateException in org.hibernate.engine.transaction.internal
Methods in org.hibernate.engine.transaction.internal that throw HibernateException Modifier and Type Method Description void
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.spi Modifier and Type Class Description class
JtaPlatformException
Indicates a problem interacting with the underlying JTA platform. -
Uses of HibernateException in org.hibernate.envers
Methods in org.hibernate.envers that throw HibernateException Modifier and Type Method Description String
AuditReader. 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.boot Modifier and Type Class Description class
EnversMappingException
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.metadata Modifier and Type Class Description class
FormulaNotSupportedException
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.exception Modifier and Type Class Description class
AuditException
class
NotAuditedException
class
RevisionDoesNotExistException
-
Uses of HibernateException in org.hibernate.envers.internal.entities
Methods in org.hibernate.envers.internal.entities that throw HibernateException Modifier and Type Method Description RevisionType
RevisionTypeType. assemble(Serializable cached, Object owner)
RevisionType
RevisionTypeType. deepCopy(RevisionType value)
Serializable
RevisionTypeType. disassemble(RevisionType value)
boolean
RevisionTypeType. equals(RevisionType x, RevisionType y)
int
RevisionTypeType. hashCode(RevisionType x)
void
RevisionTypeType. nullSafeSet(PreparedStatement preparedStatement, RevisionType value, int index, SharedSessionContractImplementor session)
RevisionType
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 HibernateException Modifier and Type Method Description Object
ToOneDelegateSessionImplementor. doImmediateLoad(String entityName)
Object
AbstractDelegateSessionImplementor. immediateLoad(String entityName, Object id)
-
Uses of HibernateException in org.hibernate.envers.internal.reader
Methods in org.hibernate.envers.internal.reader that throw HibernateException Modifier and Type Method Description String
AuditReaderImpl. getEntityName(Object primaryKey, Number revision, Object entity)
-
Uses of HibernateException in org.hibernate.event.internal
Methods in org.hibernate.event.internal that throw HibernateException Modifier and Type Method Description protected 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, SessionImplementor session)
make sure user didn't mangle the idprotected 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 Object
DefaultSaveOrUpdateEventListener. entityIsPersistent(SaveOrUpdateEvent event)
Deprecated.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 Object
DefaultUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Object requestedId, SessionImplementor session)
Deprecated.If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instanceprotected 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
DefaultLockEventListener. onLock(LockEvent event)
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
DefaultSaveOrUpdateEventListener. performUpdate(SaveOrUpdateEvent event, Object entity, EntityPersister persister)
Deprecated.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)
Object
OnLockVisitor. processCollection(Object collection, CollectionType type)
Object
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.spi Modifier and Type Class Description class
EventListenerRegistrationException
Indicates a problem registering an event listener. -
Uses of HibernateException in org.hibernate.event.spi
Methods in org.hibernate.event.spi that throw HibernateException Modifier and Type Method Description void
EventSource. forceFlush(EntityEntry e)
Force an immediate flushvoid
EventSource. forceFlush(EntityKey e)
Force an immediate flushObject
EventSource. 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
LockEventListener. onLock(LockEvent event)
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
SaveOrUpdateEventListener. onSaveOrUpdate(SaveOrUpdateEvent event)
Deprecated.Handle the given update 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.exception Modifier and Type Class Description class
ConstraintViolationException
AJDBCException
indicating that the requested DML operation resulted in violation of a defined integrity constraint.class
DataException
ExtendsJDBCException
indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.class
GenericJDBCException
Generic, non-specific flavor ofJDBCException
.class
JDBCConnectionException
AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).class
LockAcquisitionException
AJDBCException
indicating a problem acquiring a lock on the database.class
LockTimeoutException
AJDBCException
indicating that a lock request timed out on the database.class
SQLGrammarException
Specialization ofJDBCException
indicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem. -
Uses of HibernateException in org.hibernate.graph
Subclasses of HibernateException in org.hibernate.graph Modifier and Type Class Description class
CannotBecomeEntityGraphException
Indicates an illegal attempt to make aGraph
become anEntityGraph
viaGraph.makeRootGraph(String, boolean)
.class
CannotContainSubGraphException
Indicates an attempt was made to add a (key)? sub-graph to an attribute type that does not support (key)? sub-graphs.class
InvalidGraphException
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 Modifier and Type Method Description void
HikariCPConnectionProvider. configure(Map<String,Object> props)
-
Uses of HibernateException in org.hibernate.id
Subclasses of HibernateException in org.hibernate.id Modifier and Type Class Description class
IdentifierGenerationException
Thrown by anIdentifierGenerator
implementation class when ID generation fails.Methods in org.hibernate.id that throw HibernateException Modifier and Type Method Description Object
Assigned. generate(SharedSessionContractImplementor session, Object obj)
Object
CompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
GUIDGenerator. generate(SharedSessionContractImplementor session, Object obj)
Deprecated.Object
IncrementGenerator. generate(SharedSessionContractImplementor session, Object 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 HibernateException Modifier and Type Method Description Object
SequenceStyleGenerator. generate(SharedSessionContractImplementor session, Object object)
-
Uses of HibernateException in org.hibernate.internal
Methods in org.hibernate.internal that return HibernateException Modifier and Type Method Description HibernateException
CoreMessageLogger. nullIdentitySelectString()
HibernateException
CoreMessageLogger. usingRemovedJavassistBytecodeProvider()
HibernateException
CoreMessageLogger. usingStoppedClassLoaderService()
Methods in org.hibernate.internal with parameters of type HibernateException Modifier and Type Method Description RuntimeException
ExceptionConverterImpl. convert(HibernateException exception)
RuntimeException
ExceptionConverterImpl. convert(HibernateException exception, LockOptions lockOptions)
void
CoreMessageLogger. namedQueryError(String queryName, HibernateException e)
void
CoreMessageLogger. unableToCloseSession(HibernateException e)
void
CoreMessageLogger. unableToCloseSessionButSwallowingError(HibernateException e)
void
CoreMessageLogger. unableToConfigureSqlExceptionConverter(HibernateException e)
void
CoreMessageLogger. unableToCreateProxyFactory(String entityName, HibernateException e)
void
CoreMessageLogger. unableToLoadCommand(HibernateException e)
void
CoreMessageLogger. unableToSynchronizeDatabaseStateWithSession(HibernateException he)
protected PersistenceException
ExceptionConverterImpl. wrapLockException(HibernateException exception, LockOptions lockOptions)
Methods in org.hibernate.internal that throw HibernateException Modifier and Type Method Description boolean
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(Object object)
Deprecated.void
SessionImpl. delete(String entityName, Object object)
Deprecated.void
SessionImpl. delete(String entityName, Object object, boolean isCascadeDeleteEnabled, DeleteContext transientEntities)
<T> T
AbstractSharedSessionContract. doReturningWork(ReturningWork<T> work)
void
AbstractSharedSessionContract. doWork(Work work)
void
SessionImpl. evict(Object object)
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)
R
AbstractScrollableResults. get()
<T> T
SessionImpl. get(Class<T> entityClass, Object id)
<T> T
SessionImpl. get(Class<T> entityClass, Object id, LockMode lockMode)
<T> T
SessionImpl. get(Class<T> entityClass, Object id, LockOptions lockOptions)
Object
SessionImpl. get(String entityName, Object id)
Object
SessionImpl. get(String entityName, Object id, LockMode lockMode)
Object
SessionImpl. get(String entityName, Object id, LockOptions lockOptions)
CollectionMetadata
SessionFactoryImpl. getCollectionMetadata(String roleName)
LockMode
SessionImpl. getCurrentLockMode(Object object)
Session
SessionFactoryImpl. getCurrentSession()
EntityPersister
StatelessSessionImpl. getEntityPersister(String entityName, Object object)
Object
SessionImpl. getEntityUsingInterceptor(EntityKey key)
Object
StatelessSessionImpl. getEntityUsingInterceptor(EntityKey key)
FilterDefinition
SessionFactoryImpl. getFilterDefinition(String filterName)
Object
SessionImpl. getIdentifier(Object object)
Object
StatelessSessionImpl. getIdentifier(Object entity)
int
ScrollableResultsImpl. getRowNumber()
Transaction
AbstractSharedSessionContract. getTransaction()
String
SessionImpl. guessEntityName(Object object)
String
StatelessSessionImpl. guessEntityName(Object entity)
Object
SessionImpl. immediateLoad(String entityName, Object id)
Load the data for the object with the specified id into a newly created object.Object
StatelessSessionImpl. immediateLoad(String entityName, Object id)
void
StatelessSessionImpl. initializeCollection(PersistentCollection<?> collection, boolean writing)
Object
SessionImpl. instantiate(String entityName, Object id)
Object
SessionImpl. instantiate(EntityPersister persister, Object id)
give the interceptor an opportunity to override the default instantiationObject
StatelessSessionImpl. instantiate(String entityName, Object id)
Object
StatelessSessionImpl. instantiate(EntityPersister persister, Object id)
Object
StatelessSessionImpl. internalLoad(String entityName, Object id, boolean eager, boolean nullable)
boolean
SessionImpl. isDirty()
<T> T
SessionImpl. load(Class<T> entityClass, Object id)
Deprecated.<T> T
SessionImpl. load(Class<T> entityClass, Object id, LockMode lockMode)
Deprecated.<T> T
SessionImpl. load(Class<T> entityClass, Object id, LockOptions lockOptions)
Deprecated.void
SessionImpl. load(Object object, Object id)
Object
SessionImpl. load(String entityName, Object id)
Deprecated.Object
SessionImpl. load(String entityName, Object id, LockMode lockMode)
Deprecated.Object
SessionImpl. load(String entityName, Object id, LockOptions lockOptions)
Deprecated.void
SessionImpl. lock(Object object, LockMode lockMode)
void
SessionImpl. lock(String entityName, Object object, LockMode lockMode)
void
SessionImpl. merge(String entityName, Object object, MergeContext copiedAlready)
<T> T
SessionImpl. merge(String entityName, T object)
<T> T
SessionImpl. merge(T object)
SessionImplementor
SessionFactoryImpl. openSession()
SessionImpl
SessionFactoryImpl. openTemporarySession()
void
SessionImpl. persist(Object object)
void
SessionImpl. persist(String entityName, Object object)
void
SessionImpl. persist(String entityName, Object object, PersistContext copiedAlready)
void
SessionImpl. refresh(Object object)
void
SessionImpl. refresh(Object object, LockMode lockMode)
void
SessionImpl. refresh(Object object, LockOptions lockOptions)
void
SessionImpl. refresh(String entityName, Object object)
Deprecated.void
SessionImpl. refresh(String entityName, Object object, RefreshContext refreshedAlready)
void
SessionImpl. refresh(String entityName, Object object, LockOptions lockOptions)
Deprecated.void
SessionImpl. replicate(Object obj, ReplicationMode replicationMode)
void
SessionImpl. replicate(String entityName, Object obj, ReplicationMode replicationMode)
Object
SessionImpl. save(Object obj)
Deprecated.Object
SessionImpl. save(String entityName, Object object)
Deprecated.void
SessionImpl. saveOrUpdate(Object object)
Deprecated.void
SessionImpl. saveOrUpdate(String entityName, Object obj)
Deprecated.void
StatelessSessionImpl. setDefaultReadOnly(boolean readOnly)
Filter
FilterImpl. setParameterList(String name, Collection<?> values)
Set the named parameter's value list for this filter.boolean
ScrollableResultsImpl. setRowNumber(int rowNumber)
void
SessionImpl. update(Object obj)
Deprecated.void
SessionImpl. update(String entityName, Object object)
Deprecated.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 HibernateException Modifier and Type Method Description static 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)
String
EntityPrinter. toString(String entityName, Object entity)
Renders an entity to a string.String
EntityPrinter. toString(Map<String,TypedValue> namedTypedValues)
String
EntityPrinter. toString(Type[] types, Object[] values)
-
Uses of HibernateException in org.hibernate.internal.util.beans
Subclasses of HibernateException in org.hibernate.internal.util.beans Modifier and Type Class Description class
BeanIntrospectionException
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 Modifier and Type Class Description class
ConfigurationException
TODO : javadoc -
Uses of HibernateException in org.hibernate.internal.util.xml
Subclasses of HibernateException in org.hibernate.internal.util.xml Modifier and Type Class Description class
XsdException
Indicates an issue finding or loading an XSD schema. -
Uses of HibernateException in org.hibernate.jdbc
Subclasses of HibernateException in org.hibernate.jdbc Modifier and Type Class Description class
BatchedTooManyRowsAffectedException
Much likeTooManyRowsAffectedException
, indicates that more rows than what we were expecting were affected.class
BatchFailedException
Indicates a failed batch entry (-3 return).class
TooManyRowsAffectedException
Indicates that more rows were affected then we were expecting to be.Methods in org.hibernate.jdbc that throw HibernateException Modifier and Type Method Description int
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 Modifier and Type Class Description static class
PersistenceUtilHelper.AttributeExtractionException
-
Uses of HibernateException in org.hibernate.loader
Subclasses of HibernateException in org.hibernate.loader Modifier and Type Class Description class
MultipleBagFetchException
Exception used to indicate that a query is attempting to simultaneously fetch multiple bagsclass
NonUniqueDiscoveredSqlAliasException
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 HibernateException Modifier and Type Method Description CacheEntityLoaderHelper.PersistenceContextEntry
CacheEntityLoaderHelper. loadFromSessionCache(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)
Attempts to locate the entity in the session-level cache. -
Uses of HibernateException in org.hibernate.mapping
Methods in org.hibernate.mapping that throw HibernateException Modifier and Type Method Description @Remove Iterator<String>
Table. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext sqlStringGenerationContext)
Deprecated. -
Uses of HibernateException in org.hibernate.metadata
Methods in org.hibernate.metadata that throw HibernateException Modifier and Type Method Description default Object
ClassMetadata. getIdentifier(Object object)
Deprecated.Type
ClassMetadata. getPropertyType(String propertyName)
Deprecated.Get the type of a particular (named) propertyObject
ClassMetadata. getPropertyValue(Object object, String propertyName)
Deprecated.Get the value of a particular (named) propertyObject[]
ClassMetadata. getPropertyValues(Object entity)
Deprecated.Extract the property values from the given entity.default Object[]
ClassMetadata. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SessionImplementor session)
Deprecated.Use the form accepting SharedSessionContractImplementor insteadObject[]
ClassMetadata. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Deprecated.Return the values of the mapped properties of the objectObject
ClassMetadata. getVersion(Object object)
Deprecated.Get the version number (or timestamp) from the object's version property (or return null if not versioned)void
ClassMetadata. setPropertyValue(Object object, String propertyName, Object value)
Deprecated.Set the value of a particular (named) propertyvoid
ClassMetadata. setPropertyValues(Object object, Object[] values)
Deprecated.Set the given values to the mapped properties of the given object -
Uses of HibernateException in org.hibernate.metamodel
Subclasses of HibernateException in org.hibernate.metamodel Modifier and Type Class Description class
UnsupportedMappingException
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.ast Modifier and Type Class Description class
OrderByComplianceViolation
class
PathResolutionException
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 Modifier and Type Method Description default boolean
BasicDomainType. areEqual(J x, J y)
-
Uses of HibernateException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw HibernateException Modifier and Type Method Description protected 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 HibernateException Modifier and Type Method Description protected boolean
AbstractEntityPersister. check(int rows, Object id, int tableNumber, Expectation expectation, PreparedStatement statement, String statementSQL)
Object
AbstractEntityPersister. createProxy(Object id, SharedSessionContractImplementor session)
Object
DiscriminatorType. deepCopy(Object value, SessionFactoryImplementor factory)
Deprecated, for removal: This API element is subject to removal in a future version.@org.hibernate.Remove int
AbstractEntityPersister. dehydrate(Object id, Object[] fields, Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)
Deprecated, for removal: This API element is subject to removal in a future version.No longer used.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.Object
AbstractEntityPersister. forceVersionIncrement(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
default Object
EntityPersister. forceVersionIncrement(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
Object
EntityPersister. forceVersionIncrement(Object id, Object currentVersion, SharedSessionContractImplementor session)
Object
JoinedSubclassEntityPersister. forceVersionIncrement(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getCurrentVersion(Object id, SharedSessionContractImplementor session)
Retrieve the version numberObject
EntityPersister. 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.IdentifierGenerator
AbstractEntityPersister. getIdentifierGenerator()
Deprecated.Object
EntityPersister. getPropertyValue(Object object, int i)
Deprecated.UseEntityPersister.getValue(java.lang.Object, int)
insteadObject[]
AbstractEntityPersister. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Object
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.Boolean
AbstractEntityPersister. isTransient(Object entity, SharedSessionContractImplementor session)
Object
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
parameterObject
AbstractEntityPersister. 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)
Object
AbstractEntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, SharedSessionContractImplementor session)
Object
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.Object
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.String
DiscriminatorType. toLoggableString(Object value, SessionFactoryImplementor factory)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of HibernateException in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal that throw HibernateException Modifier and Type Method Description CollectionPersister
PersisterFactoryImpl. createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
-
Uses of HibernateException in org.hibernate.persister.spi
Subclasses of HibernateException in org.hibernate.persister.spi Modifier and Type Class Description class
UnknownPersisterException
Indicates that the persister to use is not known and could not be determined.Methods in org.hibernate.persister.spi that throw HibernateException Modifier and Type Method Description EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
-
Uses of HibernateException in org.hibernate.procedure
Subclasses of HibernateException in org.hibernate.procedure Modifier and Type Class Description class
NamedParametersNotSupportedException
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
NoSuchParameterException
class
ParameterMisuseException
Thrown to indicate a misuse of a parameterclass
ParameterStrategyException
class
ParameterTypeException
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.spi Modifier and Type Class Description class
PropertyAccessBuildingException
Indicates a problem while building aPropertyAccess
.class
PropertyAccessException
Indicates a problem reading or writing value from/to a persistent property.class
PropertyAccessSerializationException
-
Uses of HibernateException in org.hibernate.proxool.internal
Methods in org.hibernate.proxool.internal that throw HibernateException Modifier and Type Method Description void
ProxoolConnectionProvider. close()
Deprecated.UseProxoolConnectionProvider.stop()
instead -
Uses of HibernateException in org.hibernate.proxy
Methods in org.hibernate.proxy that throw HibernateException Modifier and Type Method Description Object
AbstractLazyInitializer. getImplementation(SharedSessionContractImplementor session)
Object
LazyInitializer. getImplementation(SharedSessionContractImplementor session)
Return the underlying persistent object in the given session, or null if not contained in this session's persistence context.HibernateProxy
ProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
Create a new proxy instancevoid
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.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 HibernateException Modifier and Type Method Description HibernateProxy
ByteBuddyProxyFactory. 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.query Modifier and Type Class Description class
IllegalMutationQueryException
Indicates an attempt to callQueryProducer.createMutationQuery(String)
,QueryProducer.createNamedMutationQuery(String)
orQueryProducer.createNativeMutationQuery(String)
with a non-mutation query (generally a select query)class
IllegalNamedQueryOptionsException
Indicates a named-query has specified options that are not legalclass
IllegalQueryOperationException
Thrown when an operation of theQuery
interface is called which is unsupported due to the nature of the query itself.class
IllegalSelectQueryException
Indicates an attempt to callQueryProducer.createSelectionQuery(String)
with a non-selection query (generally a mutation query)class
NamedQueryValidationException
Indicates that validation and translation of one or more named queries failed at initialization time.class
NotIndexedCollectionException
Indicates an attempt to use a non-indexed collection as indexed.class
ParameterLabelException
Indicates a problem with the labelling of query parameters.class
PathException
Indicates a problem with a path expression in HQL/JPQL.class
QueryTypeMismatchException
Indicates a mismatch between the expected and actual result types of a query.class
SemanticException
Represents an error in the semantics (meaning) of a HQL/JPQL query.class
SyntaxException
Represents a syntax error in a HQL/JPQL query.class
UnknownNamedQueryException
Occurs when a named query is requested, and there is no known HQL or native SQL query registered under the given name.class
UnknownParameterException
Indicates an attempt to find an unknown query parameter or an attempt to bind a value to an unknown query parameterclass
UnknownSqlResultSetMappingException
Indicates a request for named ResultSet mapping which could not be foundMethods in org.hibernate.query that return types with arguments of type HibernateException Modifier and Type Method Description Map<String,HibernateException>
NamedQueryValidationException. 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 HibernateException Modifier and Type Method Description void
QueryLogging. namedQueryError(String queryName, HibernateException e)
Constructor parameters in org.hibernate.query with type arguments of type HibernateException Constructor Description NamedQueryValidationException(String message, Map<String,HibernateException> errors)
-
Uses of HibernateException in org.hibernate.query.hql
Subclasses of HibernateException in org.hibernate.query.hql Modifier and Type Class Description class
HqlInterpretationException
Base of exception hierarchy for exceptions stemming from producing SQM AST treesMethods in org.hibernate.query.hql with parameters of type HibernateException Modifier and Type Method Description void
HqlLogging. namedQueryError(String queryName, HibernateException e)
-
Uses of HibernateException in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return types with arguments of type HibernateException Modifier and Type Method Description Map<String,HibernateException>
NamedObjectRepositoryImpl. checkNamedQueries(QueryEngine queryEngine)
-
Uses of HibernateException in org.hibernate.query.named
Methods in org.hibernate.query.named that return types with arguments of type HibernateException Modifier and Type Method Description Map<String,HibernateException>
NamedObjectRepository. 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.results Modifier and Type Class Description class
MissingSqlSelectionException
Indicates that a column defined as part of a SQL ResultSet mapping was not part of the query's ResultSetclass
PositionalSelectionsNotAllowedException
-
Uses of HibernateException in org.hibernate.query.spi
Methods in org.hibernate.query.spi that throw HibernateException Modifier and Type Method Description int
AbstractQuery. executeUpdate()
-
Uses of HibernateException in org.hibernate.query.sqm
Subclasses of HibernateException in org.hibernate.query.sqm Modifier and Type Class Description class
AliasCollisionException
Occurs when the HQL query declares a duplicate identification variable in thefrom
clause, or a duplicate result column alias in theselect
clause.class
InterpretationException
Represents a generic unhandled problem which occurred while translating HQL/JPQL.class
LiteralNumberFormatException
class
ParsingException
Occurs when an unexpected condition is encountered while interpreting the output of the HQL parser.class
StrictJpaComplianceViolation
Indicates violations of strict JPQL syntax while strict JPQL syntax checking was enabled.class
UnknownEntityException
Indicates a failure to resolve an entity name in HQL to a known mapped entity type.class
UnknownPathException
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.function Modifier and Type Class Description class
FunctionArgumentException
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.sql Modifier and Type Class Description class
ConversionException
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.internal Modifier and Type Class Description class
InstantiationException
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 Modifier and Type Class Description static class
SqmHqlNumericLiteral.TypeException
-
Uses of HibernateException in org.hibernate.resource.beans.container.internal
Subclasses of HibernateException in org.hibernate.resource.beans.container.internal Modifier and Type Class Description class
NoSuchBeanException
Exception indicating that the given class is not known as a CDI bean - triggers fallback handlingclass
NotYetReadyException
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.transaction Modifier and Type Class Description class
LocalSynchronizationException
Wraps an exception thrown from a "local synchronization" (one registered in the SynchronizationRegistry).class
NullSynchronizationException
Indicates an attempt to register a null synchronization.class
TransactionRequiredForJoinException
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 HibernateException Modifier and Type Method Description <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
Subclasses of HibernateException in org.hibernate.resource.transaction.backend.jta.internal Modifier and Type Class Description class
JtaPlatformInaccessibleException
Indicates problems accessing TransactionManager or UserTransaction through the JtaPlatformMethods in org.hibernate.resource.transaction.backend.jta.internal that throw HibernateException Modifier and Type Method Description <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 HibernateException Modifier and Type Method Description <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 Modifier and Type Class Description class
NoMoreReturnsException
-
Uses of HibernateException in org.hibernate.service
Subclasses of HibernateException in org.hibernate.service Modifier and Type Class Description class
NullServiceException
class
UnknownServiceException
Indicates that an unknown service was requested from the registry.class
UnknownUnwrapTypeException
-
Uses of HibernateException in org.hibernate.service.internal
Subclasses of HibernateException in org.hibernate.service.internal Modifier and Type Class Description class
ServiceDependencyException
Indicates a problem processing service dependencies.class
ServiceProxyGenerationException
Indicates a problem generating a service proxy -
Uses of HibernateException in org.hibernate.service.spi
Subclasses of HibernateException in org.hibernate.service.spi Modifier and Type Class Description class
ServiceException
Indicates a problem with a service. -
Uses of HibernateException in org.hibernate.sql.ast
Subclasses of HibernateException in org.hibernate.sql.ast Modifier and Type Class Description class
SqlTreeCreationException
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.from Modifier and Type Class Description class
UnknownTableReferenceException
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.exec Modifier and Type Class Description class
ExecutionException
Indicates an exception performing execution -
Uses of HibernateException in org.hibernate.sql.results
Subclasses of HibernateException in org.hibernate.sql.results Modifier and Type Class Description class
DomainResultCreationException
Base for problems creatingDomainResult
instancesclass
NoMoreOutputsException
-
Uses of HibernateException in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 that throw HibernateException Modifier and Type Method Description protected 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 Modifier and Type Class Description class
SchemaExtractionException
-
Uses of HibernateException in org.hibernate.tool.schema.internal
Methods in org.hibernate.tool.schema.internal that throw HibernateException Modifier and Type Method Description static List<String>
StandardTableMigrator. 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.spi Modifier and Type Class Description class
CommandAcceptanceException
Indicates a problem accepting/executing a schema management command.class
SchemaManagementException
Indicates a problem in performing schema management.class
SqlScriptException
Indicates a problem -
Uses of HibernateException in org.hibernate.tuple.entity
Subclasses of HibernateException in org.hibernate.tuple.entity Modifier and Type Class Description class
CompositeValueGenerationException
-
Uses of HibernateException in org.hibernate.type
Subclasses of HibernateException in org.hibernate.type Modifier and Type Class Description class
SerializationException
Thrown when a property cannot be serialized/deserializedMethods in org.hibernate.type that throw HibernateException Modifier and Type Method Description Object
AbstractStandardBasicType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
AbstractType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
AnyType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
CollectionType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
ComponentType. assemble(Serializable object, SharedSessionContractImplementor session, Object owner)
T
EnumType. assemble(Serializable cached, Object owner)
Deprecated, for removal: This API element is subject to removal in a future version.Object
ManyToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)
Object
OneToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)
Object
SerializableToBlobType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
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.Object
UserComponentType. assemble(Serializable object, SharedSessionContractImplementor session, Object owner)
Object
CustomType. deepCopy(Object value, SessionFactoryImplementor factory)
T
EnumType. deepCopy(T value)
Deprecated, for removal: This API element is subject to removal in a future version.Object
MetaType. deepCopy(Object value, SessionFactoryImplementor factory)
Deprecated, for removal: This API element is subject to removal in a future version.@Nullable Object
Type. deepCopy(@Nullable Object value, SessionFactoryImplementor factory)
Return a deep copy of the persistent state, stopping at entities and at collections.Serializable
AbstractStandardBasicType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
AbstractType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
AbstractType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
AnyType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
AnyType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
CollectionType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
CollectionType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
ComponentType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
ComponentType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
CustomType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
EnumType. disassemble(T value)
Deprecated, for removal: This API element is subject to removal in a future version.Serializable
ManyToOneType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
ManyToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
OneToOneType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
OneToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
SerializableToBlobType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
SpecialOneToOneType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
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.Serializable
UserComponentType. disassemble(Object value, SessionFactoryImplementor sessionFactory)
Serializable
UserComponentType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
boolean
EnumType. equals(T x, T y)
Deprecated, for removal: This API element is subject to removal in a future version.Object
MetaType. fromXMLString(String xml, Mapping factory)
Deprecated, for removal: This API element is subject to removal in a future version.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 Object
EntityType. getIdentifier(Object value, SessionFactoryImplementor sessionFactory)
protected Object
EntityType. getIdentifier(Object value, SharedSessionContractImplementor session)
Object
AnyType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)
Object
ComponentType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)
Object
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
EnumType. hashCode(T x)
Deprecated, for removal: This API element is subject to removal in a future version.PersistentCollection<?>
ArrayType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
BagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
CustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
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)
Deprecated, for removal: This API element is subject to removal in a future version.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
ComponentType. isEqual(Object x, Object y)
boolean
ComponentType. isEqual(Object x, Object y, SessionFactoryImplementor factory)
boolean
CustomType. isEqual(Object x, Object y)
boolean
Type. isEqual(@Nullable Object x, @Nullable Object y)
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
UserComponentType. isEqual(Object x, Object y)
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
AbstractType. isSame(Object x, Object y)
boolean
AnyType. isSame(Object x, Object y)
boolean
ComponentType. isSame(Object x, Object y)
boolean
Type. isSame(@Nullable Object x, @Nullable Object y)
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.Object
EntityType. loadByUniqueKey(String entityName, String uniqueKeyPropertyName, Object key, SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.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)
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
EnumType. nullSafeSet(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
MetaType. 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
MetaType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.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)
Object
AbstractType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Object
AnyType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
CollectionType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
CustomType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
EntityType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
T
EnumType. replace(T original, T target, Object owner)
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.Object
ArrayType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
CustomCollectionType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
MapType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
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.Object
UserComponentType. replacePropertyValues(Object component, Object[] values, SharedSessionContractImplementor session)
protected Object
EntityType. resolveIdentifier(Object id, SharedSessionContractImplementor session)
protected 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 instanceString
AnyType. toLoggableString(Object value, SessionFactoryImplementor factory)
String
ArrayType. toLoggableString(Object value, SessionFactoryImplementor factory)
String
ComponentType. toLoggableString(Object value, SessionFactoryImplementor factory)
String
MetaType. toLoggableString(Object value, SessionFactoryImplementor factory)
Deprecated, for removal: This API element is subject to removal in a future version.String
Type. toLoggableString(@Nullable Object value, SessionFactoryImplementor factory)
Generate a representation of the given value for logging purposes.String
MetaType. toXMLString(Object value, SessionFactoryImplementor factory)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of HibernateException in org.hibernate.type.descriptor.java
Subclasses of HibernateException in org.hibernate.type.descriptor.java Modifier and Type Class Description class
CoercionException
Methods in org.hibernate.type.descriptor.java that return HibernateException Modifier and Type Method Description protected 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.spi Modifier and Type Class Description class
JdbcTypeRecommendationException
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 HibernateException Modifier and Type Method Description Object
ConvertedBasicTypeImpl. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Serializable
ConvertedBasicTypeImpl. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
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 HibernateException Modifier and Type Method Description T
BaseUserTypeSupport. assemble(Serializable cached, Object owner)
T
StaticUserTypeSupport. assemble(Serializable cached, Object owner)
T
BaseUserTypeSupport. deepCopy(T value)
T
StaticUserTypeSupport. deepCopy(T value)
Serializable
BaseUserTypeSupport. disassemble(T value)
Serializable
StaticUserTypeSupport. disassemble(T value)
boolean
BaseUserTypeSupport. equals(T x, T y)
boolean
StaticUserTypeSupport. equals(T x, T y)
J
EnhancedUserType. fromStringValue(CharSequence sequence)
Consume the given string representation back into this types java form.Object
CompositeUserType. getPropertyValue(J component, int property)
Get the value of the property with the given index.int
BaseUserTypeSupport. hashCode(T x)
int
StaticUserTypeSupport. hashCode(T x)
PersistentCollection<?>
UserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapperObject
UserCollectionType. replaceElements(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collectionString
EnhancedUserType. toString(J value)
Render the value to the string representation. -
Uses of HibernateException in org.hibernate.usertype.internal
Methods in org.hibernate.usertype.internal that throw HibernateException Modifier and Type Method Description Object
OffsetDateTimeCompositeUserType. getPropertyValue(OffsetDateTime component, int property)
Object
OffsetTimeCompositeUserType. getPropertyValue(OffsetTime component, int property)
Object
ZonedDateTimeCompositeUserType. getPropertyValue(ZonedDateTime component, int property)
-