Uses of Class
org.hibernate.HibernateException
-
-
Uses of HibernateException in org.hibernate
Subclasses of HibernateException in org.hibernate Modifier and Type Class Description class
AnnotationException
Annotation related exception.class
CallbackException
Intended to be thrown fromLifecycle
andInterceptor
callbacks.class
DuplicateMappingException
Raised whenever a duplicate for a certain type occurs.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
.class
LazyInitializationException
Indicates an attempt to access not-yet-fetched data outside of a session context.class
MappingException
An exception that occurs while reading mapping sources (xml/annotations),usually as a result of something screwy in the O-R mappings.class
MappingNotFoundException
Deprecated.UseMappingNotFoundException
instead.class
NonUniqueObjectException
This exception is thrown when an operation would break session-scoped identity.class
NonUniqueResultException
Thrown when the application calls Query.uniqueResult() and the query returned more than one result.class
ObjectDeletedException
Thrown when the user tries to do something illegal with a deleted object.class
ObjectNotFoundException
Thrown when Session.load() fails to select a row with the given primary key (identifier value).class
OptimisticLockException
Deprecated.UseOptimisticEntityLockException
insteadclass
PersistentObjectException
Thrown when the user passes a persistent instance to a Session 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 invalid query syntax, etc.class
QueryParameterException
Parameter invalid or not found in the query.class
QueryTimeoutException
Thrown when a database query timeout occurs.class
ResourceClosedException
Indicates an attempt was made to use a closed resource (Session, SessionFactory, etc).class
SessionException
Thrown when the user calls a method of aSession
that is in an inappropriate state for the given call (for example, the the session is closed or disconnected).class
StaleObjectStateException
A specialized StaleStateException 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 the Session 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 a Session 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/class.class
UnknownProfileException
Used to indicate a request against an unknown 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 invalid LockMode 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
Session. cancelQuery()
Cancel the execution of the current query.static void
Hibernate. close(java.util.Iterator iterator)
Close anIterator
instances obtained fromQuery.iterate()
immediately instead of waiting until the session is closed or disconnected.void
SessionFactory. close()
Destroy this SessionFactory and release all resources (caches, connection pools, etc).void
SharedSessionContract. close()
End the session by releasing the JDBC connection and cleaning up.Criteria
Criteria. createAlias(java.lang.String associationPath, java.lang.String alias)
Join an association, assigning an alias to the joined association.Criteria
Criteria. createAlias(java.lang.String associationPath, java.lang.String alias, int joinType)
Deprecated.Criteria
Criteria. createAlias(java.lang.String associationPath, java.lang.String alias, int joinType, Criterion withClause)
Deprecated.Criteria
Criteria. createAlias(java.lang.String associationPath, java.lang.String alias, JoinType joinType)
Join an association using the specified join-type, assigning an alias to the joined association.Criteria
Criteria. createAlias(java.lang.String associationPath, java.lang.String alias, JoinType joinType, Criterion withClause)
Join an association using the specified join-type, assigning an alias to the joined association.Criteria
Criteria. createCriteria(java.lang.String associationPath)
Create a new Criteria, "rooted" at the associated entity.Criteria
Criteria. createCriteria(java.lang.String associationPath, int joinType)
Deprecated.Criteria
Criteria. createCriteria(java.lang.String associationPath, java.lang.String alias)
Create a new Criteria, "rooted" at the associated entity, assigning the given alias.Criteria
Criteria. createCriteria(java.lang.String associationPath, java.lang.String alias, int joinType)
Deprecated.Criteria
Criteria. createCriteria(java.lang.String associationPath, java.lang.String alias, int joinType, Criterion withClause)
Criteria
Criteria. createCriteria(java.lang.String associationPath, java.lang.String alias, JoinType joinType)
Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.Criteria
Criteria. createCriteria(java.lang.String associationPath, java.lang.String alias, JoinType joinType, Criterion withClause)
Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.Criteria
Criteria. createCriteria(java.lang.String associationPath, JoinType joinType)
Create a new Criteria, "rooted" at the associated entity, using the specified join type.<T> T
Session. doReturningWork(ReturningWork<T> work)
Controller for allowing users to perform JDBC related work using the Connection managed by this Session.void
Session. doWork(Work work)
Controller for allowing users to perform JDBC related work using the Connection managed by this Session.void
Session. flush()
Force this session to flush.Session
SessionFactory. getCurrentSession()
Obtains the current session.FilterDefinition
SessionFactory. getFilterDefinition(java.lang.String filterName)
Obtain the definition of a filter by name.static void
Hibernate. initialize(java.lang.Object proxy)
Force initialization of a proxy or persistent collection.boolean
Session. isDirty()
Does this session contain any changes which must be synchronized with the database? In other words, would any DML operations be executed if we flushed this session?java.util.List
Criteria. list()
Get the results.Session
SessionFactory. openSession()
Open aSession
.void
Transaction. registerSynchronization(Synchronization synchronization)
Register a user synchronization callback for this transaction.ScrollableResults
Criteria. scroll()
Get the results as an instance ofScrollableResults
.ScrollableResults
Criteria. scroll(ScrollMode scrollMode)
Get the results as an instance ofScrollableResults
based on the given scroll mode.Criteria
Criteria. setFetchMode(java.lang.String associationPath, FetchMode mode)
Specify an association fetching strategy for an association or a collection of values.java.lang.Object
Criteria. uniqueResult()
Convenience method to return a single instance that matches the query, or null if the query returns no results.void
Filter. validate()
Perform validation of the filter state. -
Uses of HibernateException in org.hibernate.action.spi
Methods in org.hibernate.action.spi that throw 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.boot
Subclasses of HibernateException in org.hibernate.boot Modifier and Type Class Description class
InvalidMappingException
class
MappingException
Indicates a problem parsing a mapping document.class
MappingNotFoundException
class
UnsupportedOrmXsdVersionException
-
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.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.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.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.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 cacheclass
NoCacheRegionFactoryAvailableException
Indicates a condition where a second-level cache implementation was expected to be to available, but none was found on the classpath. -
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()
Clean up the default query cachejava.util.List
QueryResultsCache. get(QueryKey key, java.lang.String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.util.Set<java.io.Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.default QueryCache
CacheImplementor. getQueryCache(java.lang.String regionName)
Deprecated.UseCacheImplementor.getQueryResultsCache(String)
instead, but using unqualified nameboolean
QueryResultsCache. put(QueryKey key, java.util.List result, Type[] returnTypes, SharedSessionContractImplementor session)
Put a result into the query 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 java.lang.Object[]
StandardCacheEntryImpl. assemble(java.lang.Object instance, java.io.Serializable 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(java.lang.Object[] state, EntityPersister persister, java.lang.Object version, SharedSessionContractImplementor session, java.lang.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
CannotForceNonNullableException
Indicates an internal attempt to mark a column as non-nullable (because its part of a PK, etc) but we cannot force that column to be non-nullable.class
NotYetImplementedException
Mapping not yet implementedclass
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 named hibernate.cfg.xml.Configuration
Configuration. configure(java.io.File configFile)
Use the mappings and properties specified in the given application file.Configuration
Configuration. configure(java.lang.String resource)
Use the mappings and properties specified in the given application resource.Configuration
Configuration. configure(java.net.URL url)
Use the mappings and properties specified in the given document.Configuration
Configuration. configure(org.w3c.dom.Document document)
Deprecated.No longer supported. -
Uses of HibernateException in org.hibernate.cfg.beanvalidation
Subclasses of HibernateException in org.hibernate.cfg.beanvalidation Modifier and Type Class Description class
IntegrationException
Indicates a problem integrating Hibernate and the Bean Validation spec. -
Uses of HibernateException in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi that throw HibernateException Modifier and Type Method Description java.lang.Object
PersistentCollection. readFrom(java.sql.ResultSet rs, CollectionPersister role, CollectionAliases descriptor, java.lang.Object owner)
Read a row from the JDBC result setboolean
PersistentCollection. setCurrentSession(SharedSessionContractImplementor session)
Associate the collection with the given session. -
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.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.criterion
Methods in org.hibernate.criterion that throw HibernateException Modifier and Type Method Description java.lang.String[]
CriteriaQuery. findColumns(java.lang.String propertyPath, Criteria criteria)
Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query.java.lang.String
CriteriaQuery. getColumn(Criteria criteria, java.lang.String propertyPath)
Resolve a property path to the name of the column it maps to.java.lang.String[]
CriteriaQuery. getColumns(java.lang.String propertyPath, Criteria criteria)
Resolve a property path to the names of the columns it maps to.java.lang.String[]
CriteriaQuery. getColumnsUsingProjection(Criteria criteria, java.lang.String propertyPath)
Get the names of the columns mapped by a property path.protected QueryableCollection
AbstractEmptinessExpression. getQueryableCollection(java.lang.String entityName, java.lang.String propertyName, SessionFactoryImplementor factory)
Type
CriteriaQuery. getType(Criteria criteria, java.lang.String propertyPath)
Get the type of a property path.TypedValue
CriteriaQuery. getTypedValue(Criteria criteria, java.lang.String propertyPath, java.lang.Object value)
Build a typed-value for the property/value combo.TypedValue[]
AbstractEmptinessExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
BetweenExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
Criterion. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragmentTypedValue[]
Junction. getTypedValues(Criteria crit, CriteriaQuery criteriaQuery)
TypedValue[]
NaturalIdentifier. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
NotExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
NotNullExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
NullExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SimpleExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SimpleSubqueryExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SizeExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SubqueryExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
AggregateProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
AliasedProjection. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
AliasedProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
Projection. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.Type[]
Projection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Types returned by the rendered SQLfragment
.Type[]
ProjectionList. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
PropertyProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
RowCountProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type
CriteriaQuery. getTypeUsingProjection(Criteria criteria, java.lang.String propertyPath)
Get the type of a property path.java.lang.String
Projection. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the GROUP BY clausejava.lang.String
ProjectionList. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
PropertyProjection. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
AbstractEmptinessExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
AggregateProjection. toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
java.lang.String
AliasedProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
java.lang.String
BetweenExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
Criterion. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
Render the SQL fragmentjava.lang.String
Junction. toSqlString(Criteria crit, CriteriaQuery criteriaQuery)
java.lang.String
NaturalIdentifier. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
NotExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
NotNullExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
NullExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
Projection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the SELECT clause.java.lang.String
ProjectionList. toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
java.lang.String
PropertyExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
PropertyProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
java.lang.String
RowCountProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
java.lang.String
SimpleExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
SizeExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
SubqueryExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
-
Uses of HibernateException in org.hibernate.dialect
Methods in org.hibernate.dialect that throw HibernateException Modifier and Type Method Description static Dialect
Dialect. getDialect()
Get an instance of the dialect specified by the current System properties.static Dialect
Dialect. getDialect(java.util.Properties props)
Get an instance of the dialect specified by the given properties or by the current System properties.java.lang.String
Dialect. getHibernateTypeName(int code)
Get the name of the HibernateType
associated with the givenTypes
type code.java.lang.String
Dialect. getHibernateTypeName(int code, int length, int precision, int scale)
Get the name of the HibernateType
associated with the givenTypes
typecode with the given storage specification parameters.java.lang.String
Dialect. getTypeName(int code)
Get the name of the database type associated with the givenTypes
typecode.java.lang.String
Dialect. getTypeName(int code, long length, int precision, int scale)
Get the name of the database type associated with the givenTypes
typecode with the given storage specification parameters.java.lang.String
Teradata14Dialect. getTypeName(int code, int length, int precision, int scale)
Get the name of the database type associated with the given java.sql.Types typecode.java.lang.String
TeradataDialect. getTypeName(int code, int length, int precision, int scale)
Get the name of the database type associated with the given java.sql.Types typecode. -
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 entity -
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(java.util.Map configValues, DialectResolutionInfoSource resolutionInfoSource)
Builds an appropriate Dialect instance. -
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 viaParamLocationRecognizer
-
Uses of HibernateException in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi that throw HibernateException Modifier and Type Method Description int
HQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.int
NativeSQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Performs the execute queryjava.util.Iterator
HQLQueryPlan. performIterate(QueryParameters queryParameters, EventSource session)
Coordinates the efforts to perform an iterate across all the included query translators.java.util.List
HQLQueryPlan. performList(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform a list across all the included query translators.ScrollableResultsImplementor
HQLQueryPlan. performScroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform a scroll across all the included query translators. -
Uses of HibernateException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi with parameters of type HibernateException Modifier and Type Method Description java.lang.RuntimeException
ExceptionConverter. convert(HibernateException e)
Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA sepcification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.java.lang.RuntimeException
ExceptionConverter. convert(HibernateException e, LockOptions lockOptions)
Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA sepcification 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 CollectionEntry
PersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection collection, java.io.Serializable id)
add a collection we just pulled out of the cache (does not need initializing)void
PersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)
add an (initialized) collection that was created by another session and passed into update() (ie.void
PersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection collection)
Add a new collection (ie.void
SessionDelegatorBaseImpl. cancelQuery()
void
CascadingAction. cascade(EventSource session, java.lang.Object child, java.lang.String entityName, java.lang.Object anything, boolean isCascadeDeleteEnabled)
Cascade the action to the child object.void
PersistenceContext. checkUniqueness(EntityKey key, java.lang.Object object)
Attempts to check whether the given key represents an entity already loaded within the current session.void
SessionDelegatorBaseImpl. close()
void
SessionFactoryDelegatingImpl. close()
<T> T
SessionDelegatorBaseImpl. doReturningWork(ReturningWork<T> work)
void
SessionDelegatorBaseImpl. doWork(Work work)
default void
CacheImplementor. evictQueries()
Deprecated.Clean up the default query cachevoid
ActionQueue. executeActions()
Perform all currently queued actions.void
ActionQueue. executeInserts()
Perform all currently queued entity-insertion actions.int
SessionDelegatorBaseImpl. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)
int
SharedSessionContractImplementor. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)
Execute a native SQL update or delete queryint
SessionDelegatorBaseImpl. executeUpdate(java.lang.String query, QueryParameters queryParameters)
int
SharedSessionContractImplementor. executeUpdate(java.lang.String query, QueryParameters queryParameters)
Execute a HQL update or delete queryvoid
SessionDelegatorBaseImpl. forceFlush(EntityEntry e)
void
SessionImplementor. forceFlush(EntityEntry e)
Session
SessionFactoryDelegatingImpl. getCurrentSession()
EntityPersister
SessionDelegatorBaseImpl. getEntityPersister(java.lang.String entityName, java.lang.Object object)
EntityPersister
SharedSessionContractImplementor. getEntityPersister(java.lang.String entityName, java.lang.Object object)
Get the EntityPersister for any instancejava.lang.Object
SessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)
java.lang.Object
SharedSessionContractImplementor. getEntityUsingInterceptor(EntityKey key)
Get the entity instance associated with the given Key, calling the Interceptor if necessaryFilterDefinition
SessionFactoryDelegatingImpl. getFilterDefinition(java.lang.String filterName)
java.util.Collection
CollectionEntry. getOrphans(java.lang.String entityName, PersistentCollection collection)
Get the collection orphans (entities which were removed from the collection)default QueryCache
CacheImplementor. getQueryCache(java.lang.String regionName)
Deprecated.UseCacheImplementor.getQueryResultsCache(String)
instead, but using unqualified namejava.lang.String[]
SessionFactoryDelegatingImpl. getReturnAliases(java.lang.String queryString)
Type[]
SessionFactoryDelegatingImpl. getReturnTypes(java.lang.String queryString)
java.lang.String
SessionDelegatorBaseImpl. guessEntityName(java.lang.Object entity)
java.lang.String
SharedSessionContractImplementor. guessEntityName(java.lang.Object entity)
The guessed entity name for an entity not in an associationjava.lang.Object
SessionDelegatorBaseImpl. immediateLoad(java.lang.String entityName, java.io.Serializable id)
java.lang.Object
SharedSessionContractImplementor. immediateLoad(java.lang.String entityName, java.io.Serializable id)
Load an instance immediately.void
SessionDelegatorBaseImpl. initializeCollection(PersistentCollection collection, boolean writing)
void
SharedSessionContractImplementor. initializeCollection(PersistentCollection collection, boolean writing)
Initialize the collection (if not already initialized)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)java.lang.Object
SessionDelegatorBaseImpl. instantiate(java.lang.String entityName, java.io.Serializable id)
java.lang.Object
SessionDelegatorBaseImpl. instantiate(EntityPersister persister, java.io.Serializable id)
java.lang.Object
SessionImplementor. instantiate(EntityPersister persister, java.io.Serializable id)
java.lang.Object
SharedSessionContractImplementor. instantiate(java.lang.String entityName, java.io.Serializable id)
Instantiate the entity class, initializing with the given identifierjava.lang.Object
SessionDelegatorBaseImpl. internalLoad(java.lang.String entityName, java.io.Serializable id, boolean eager, boolean nullable)
java.lang.Object
SharedSessionContractImplementor. internalLoad(java.lang.String entityName, java.io.Serializable id, boolean eager, boolean nullable)
Load an instance without checking if it was deleted.boolean
SessionDelegatorBaseImpl. isDirty()
java.util.Iterator
SessionDelegatorBaseImpl. iterate(java.lang.String query, QueryParameters queryParameters)
java.util.Iterator
SharedSessionContractImplementor. iterate(java.lang.String query, QueryParameters queryParameters)
Execute an iterate() queryjava.util.Iterator
SessionDelegatorBaseImpl. iterateFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)
java.util.Iterator
SharedSessionContractImplementor. iterateFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)
Iterate a filterjava.util.List
SessionDelegatorBaseImpl. list(java.lang.String query, QueryParameters queryParameters)
java.util.List
SessionDelegatorBaseImpl. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)
java.util.List
SharedSessionContractImplementor. list(java.lang.String query, QueryParameters queryParameters)
Execute a find() queryjava.util.List
SharedSessionContractImplementor. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)
Execute a native SQL query, and return the results as a fully built list.java.util.List
SessionDelegatorBaseImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
java.util.List
SharedSessionContractImplementor. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Execute an SQL Queryjava.util.List
SessionDelegatorBaseImpl. listFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)
java.util.List
SharedSessionContractImplementor. listFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)
Execute a filtervoid
SessionDelegatorBaseImpl. merge(java.lang.String entityName, java.lang.Object object, java.util.Map copiedAlready)
void
SessionImplementor. merge(java.lang.String entityName, java.lang.Object object, java.util.Map copiedAlready)
Deprecated.OperationalContext should cover this overload I believe; Gail?java.lang.Object
PersistenceContext. narrowProxy(java.lang.Object proxy, EntityPersister persister, EntityKey key, java.lang.Object object)
If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one.Session
SessionFactoryDelegatingImpl. openSession()
Session
SessionFactoryDelegatingImpl. openTemporarySession()
Session
SessionFactoryImplementor. openTemporarySession()
Get a non-transactional "current" session (used by hibernate-envers)void
SessionDelegatorBaseImpl. persist(java.lang.String entityName, java.lang.Object object, java.util.Map createdAlready)
void
SessionImplementor. persist(java.lang.String entityName, java.lang.Object object, java.util.Map createdAlready)
Deprecated.OperationalContext should cover this overload I believe; Gail?void
CollectionEntry. postFlush(PersistentCollection collection)
Called after a successful flushvoid
CollectionEntry. postInitialize(PersistentCollection collection)
void
CollectionEntry. preFlush(PersistentCollection collection)
void
ActionQueue. prepareActions()
Prepares the internal action queues for execution.java.lang.Object
PersistenceContext. proxyFor(java.lang.Object impl)
Return the existing proxy associated with the given EntityKey, or the argument (the entity associated with the key) if no proxy exists.java.lang.Object
PersistenceContext. proxyFor(EntityPersister persister, EntityKey key, java.lang.Object impl)
Return the existing proxy associated with the given EntityKey, or the third argument (the entity associated with the key) if no proxy exists.void
SessionDelegatorBaseImpl. refresh(java.lang.String entityName, java.lang.Object object, java.util.Map refreshedAlready)
void
SessionImplementor. refresh(java.lang.String entityName, java.lang.Object object, java.util.Map refreshedAlready)
Deprecated.OperationalContext should cover this overload I believe; Gail?ScrollableResultsImplementor
SessionDelegatorBaseImpl. scroll(java.lang.String query, QueryParameters queryParameters)
ScrollableResultsImplementor
SessionDelegatorBaseImpl. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)
ScrollableResultsImplementor
SharedSessionContractImplementor. scroll(java.lang.String query, QueryParameters queryParameters)
Execute a scroll() queryScrollableResultsImplementor
SessionDelegatorBaseImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
ScrollableResultsImplementor
SharedSessionContractImplementor. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Execute an SQL Queryvoid
QueryParameters. traceParameters(SessionFactoryImplementor factory)
java.lang.Object
PersistenceContext. unproxy(java.lang.Object maybeProxy)
Get the entity instance underlying the given proxy, throwing an exception if the proxy is uninitialized.java.lang.Object
PersistenceContext. unproxyAndReassociate(java.lang.Object maybeProxy)
Possibly unproxy the given reference and reassociate it with the current session. -
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.engine.transaction.spi
Methods in org.hibernate.engine.transaction.spi that throw HibernateException Modifier and Type Method Description <T> T
IsolationDelegate. delegateCallable(java.util.concurrent.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.envers
Methods in org.hibernate.envers that throw HibernateException Modifier and Type Method Description java.lang.String
AuditReader. getEntityName(java.lang.Object primaryKey, java.lang.Number revision, java.lang.Object entity)
Get the entity name of an instance of an entity returned by this AuditReader. -
Uses of HibernateException in org.hibernate.envers.enhanced
Methods in org.hibernate.envers.enhanced that throw HibernateException Modifier and Type Method Description java.lang.String[]
OrderedSequenceStructure. sqlCreateStrings(Dialect dialect)
java.lang.String[]
OrderedSequenceStructure. sqlDropStrings(Dialect dialect)
-
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.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 flushjava.lang.Object
EventSource. instantiate(EntityPersister persister, java.io.Serializable id)
Instantiate an entity instance, using either an interceptor, or the given persistervoid
EventSource. merge(java.lang.String entityName, java.lang.Object object, java.util.Map copiedAlready)
Cascade merge an entity instancevoid
AutoFlushEventListener. onAutoFlush(AutoFlushEvent event)
Handle the given auto-flush event.void
DeleteEventListener. onDelete(DeleteEvent event)
Handle the given delete event.void
DeleteEventListener. onDelete(DeleteEvent event, java.util.Set 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, java.util.Map copiedAlready)
Handle the given merge event.void
PersistEventListener. onPersist(PersistEvent event)
Handle the given create event.void
PersistEventListener. onPersist(PersistEvent event, java.util.Map createdAlready)
Handle the given create event.void
RefreshEventListener. onRefresh(RefreshEvent event)
Handle the given refresh event.void
RefreshEventListener. onRefresh(RefreshEvent event, java.util.Map refreshedAlready)
void
ReplicateEventListener. onReplicate(ReplicateEvent event)
Handle the given replicate event.void
ResolveNaturalIdEventListener. onResolveNaturalId(ResolveNaturalIdEvent event)
Handle the given resolve natural id event.void
SaveOrUpdateEventListener. onSaveOrUpdate(SaveOrUpdateEvent event)
Handle the given update event.void
EventSource. persist(java.lang.String entityName, java.lang.Object object, java.util.Map createdAlready)
Cascade persist an entity instancevoid
EventSource. refresh(java.lang.String entityName, java.lang.Object object, java.util.Map 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
Implementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint.class
DataException
Implementation of JDBCException 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 JDBCException.class
JDBCConnectionException
Implementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).class
LockAcquisitionException
Implementation of JDBCException indicating a problem acquiring lock on the database.class
LockTimeoutException
class
SQLGrammarException
Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc). -
Uses of HibernateException in org.hibernate.exception.spi
Methods in org.hibernate.exception.spi that throw HibernateException Modifier and Type Method Description static SQLExceptionConverter
SQLExceptionConverterFactory. buildSQLExceptionConverter(Dialect dialect, java.util.Properties properties)
Build a SQLExceptionConverter instance.void
Configurable. configure(java.util.Properties properties)
Configure the component, using the given settings and properties. -
Uses of HibernateException in org.hibernate.hql.spi
Methods in org.hibernate.hql.spi that throw HibernateException Modifier and Type Method Description int
QueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Perform a bulk update/delete operation given the underlying query definition.java.util.Iterator
QueryTranslator. iterate(QueryParameters queryParameters, EventSource session)
Perform an iterate operation given the underlying query definition.java.util.List
QueryTranslator. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
Perform a list operation given the underlying query definition.ScrollableResultsImplementor
QueryTranslator. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
Perform a scroll operation given the underlying query definition.void
QueryTranslator. validateScrollability()
Validate the scrollability of the translated query. -
Uses of HibernateException in org.hibernate.id
Subclasses of HibernateException in org.hibernate.id Modifier and Type Class Description class
IdentifierGenerationException
Thrown by IdentifierGenerator implementation class when ID generation fails.Methods in org.hibernate.id that throw HibernateException Modifier and Type Method Description java.io.Serializable
Assigned. generate(SharedSessionContractImplementor session, java.lang.Object obj)
java.io.Serializable
CompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
GUIDGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
java.io.Serializable
IdentifierGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
Generate a new identifier.java.io.Serializable
IncrementGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
UUIDGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
static java.io.Serializable
IdentifierGeneratorHelper. getGeneratedIdentity(java.sql.ResultSet rs, java.lang.String identifier, Type type, Dialect dialect)
Get the generated identifier when using identity columnsInsertGeneratedIdentifierDelegate
IdentityGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)
InsertGeneratedIdentifierDelegate
PostInsertIdentifierGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)
InsertGeneratedIdentifierDelegate
SelectGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)
InsertGeneratedIdentifierDelegate
SequenceIdentityGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)
Deprecated.java.lang.String[]
MultipleHiLoPerTableGenerator. sqlCreateStrings(Dialect dialect)
Deprecated.java.lang.String[]
PersistentIdentifierGenerator. sqlCreateStrings(Dialect dialect)
Deprecated.Utilize the ExportableProducer contract insteadjava.lang.String[]
SequenceGenerator. sqlCreateStrings(Dialect dialect)
Deprecated.java.lang.String[]
MultipleHiLoPerTableGenerator. sqlDropStrings(Dialect dialect)
Deprecated.java.lang.String[]
PersistentIdentifierGenerator. sqlDropStrings(Dialect dialect)
Deprecated.Utilize the ExportableProducer contract insteadjava.lang.String[]
SequenceGenerator. sqlDropStrings(Dialect dialect)
Deprecated. -
Uses of HibernateException in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that throw HibernateException Modifier and Type Method Description java.io.Serializable
SequenceStyleGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.lang.String[]
SequenceStructure. sqlCreateStrings(Dialect dialect)
java.lang.String[]
SequenceStyleGenerator. sqlCreateStrings(Dialect dialect)
java.lang.String[]
TableGenerator. sqlCreateStrings(Dialect dialect)
java.lang.String[]
TableStructure. sqlCreateStrings(Dialect dialect)
java.lang.String[]
SequenceStructure. sqlDropStrings(Dialect dialect)
java.lang.String[]
SequenceStyleGenerator. sqlDropStrings(Dialect dialect)
java.lang.String[]
TableGenerator. sqlDropStrings(Dialect dialect)
java.lang.String[]
TableStructure. sqlDropStrings(Dialect dialect)
-
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 expcecting 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. prepare(java.sql.PreparedStatement statement)
Perform any special statement preparation.int
Expectations.BasicExpectation. prepare(java.sql.PreparedStatement statement)
int
Expectations.BasicParamExpectation. prepare(java.sql.PreparedStatement statement)
void
Expectation. verifyOutcome(int rowCount, java.sql.PreparedStatement statement, int batchPosition)
Perform verification of the outcome of the RDBMS operation based on the type of expectation defined. -
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 multiplebags
Methods in org.hibernate.loader that throw HibernateException Modifier and Type Method Description protected java.lang.String
Loader. applyLocks(java.lang.String sql, QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions)
Append FOR UPDATE OF clause, if necessary.protected int
Loader. bindNamedParameters(java.sql.PreparedStatement statement, java.util.Map<java.lang.String,TypedValue> namedParams, int startIndex, SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.protected int
Loader. bindPositionalParameters(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.protected void
Loader. checkScrollability()
Check whether the current loader can support returning ScrollableResults.protected java.util.List
Loader. doList(SharedSessionContractImplementor session, QueryParameters queryParameters)
Actually execute a query, ignoring the query cachejava.util.List
Loader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Execute an SQL query and attempt to instantiate instances of the class mapped by the given persister from each row of the ResultSet.java.util.List
Loader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)
protected java.lang.Object
Loader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
Get the actual object that is returned in the user-visible result list.protected java.lang.Object[]
Loader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.sql.ResultSet
Loader. getResultSet(java.sql.CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)
Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected java.sql.ResultSet
Loader. getResultSet(java.sql.PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected java.util.List
Loader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes)
Return the query results, using the query cache, called by subclasses that implement cacheable queriesvoid
Loader. loadCollection(SharedSessionContractImplementor session, java.io.Serializable id, Type type)
Called by subclasses that initialize collectionsvoid
Loader. loadCollectionBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type type)
Called by wrappers that batch initialize collectionsprotected void
Loader. loadCollectionSubselect(SharedSessionContractImplementor session, java.io.Serializable[] ids, java.lang.Object[] parameterValues, Type[] parameterTypes, java.util.Map<java.lang.String,TypedValue> namedParameters, Type type)
Called by subclasses that batch initialize collectionsprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index, Type keyType, Type indexType, EntityPersister persister)
Called by subclasses that load entitiesprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object id, Type identifierType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions)
Called by subclasses that load entitiesjava.util.List
Loader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entitiesjava.lang.Object
Loader. loadSequentialRowsForward(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Loads a single logical row from the result set moving forward.java.lang.Object
Loader. loadSequentialRowsReverse(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.java.lang.Object
Loader. loadSingleRow(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Loads a single row from the result set.protected java.sql.PreparedStatement
Loader. prepareQueryStatement(java.lang.String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.protected java.lang.String
Loader. preprocessSQL(java.lang.String sql, QueryParameters parameters, SessionFactoryImplementor sessionFactory, java.util.List<AfterLoadAction> afterLoadActions)
Modify the SQL, adding lock hints and comments, if necessaryprotected ScrollableResultsImplementor
Loader. scroll(QueryParameters queryParameters, Type[] returnTypes, org.hibernate.hql.internal.HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults -
Uses of HibernateException in org.hibernate.loader.collection
Methods in org.hibernate.loader.collection that throw HibernateException Modifier and Type Method Description void
CollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
Initialize the given collectionvoid
CollectionLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
SubselectCollectionLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
SubselectOneToManyLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
-
Uses of HibernateException in org.hibernate.loader.collection.plan
Methods in org.hibernate.loader.collection.plan that throw HibernateException Modifier and Type Method Description void
AbstractLoadPlanBasedCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
-
Uses of HibernateException in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria that throw HibernateException Modifier and Type Method Description java.lang.String[]
CriteriaQueryTranslator. findColumns(java.lang.String propertyName, Criteria subcriteria)
Get the names of the columns mapped by a property path; if the property path is not found in subcriteria, try the "outer" query.java.lang.String[]
CriteriaQueryTranslator. getColumns(java.lang.String propertyName, Criteria subcriteria)
java.lang.String[]
CriteriaQueryTranslator. getColumnsUsingProjection(Criteria subcriteria, java.lang.String propertyName)
Get the names of the columns constrained by this criterion.protected java.lang.Object
CriteriaLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
CriteriaLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
Type
CriteriaQueryTranslator. getType(Criteria subcriteria, java.lang.String propertyName)
TypedValue
CriteriaQueryTranslator. getTypedValue(Criteria subcriteria, java.lang.String propertyName, java.lang.Object value)
Get the a typed value for the given property value.Type
CriteriaQueryTranslator. getTypeUsingProjection(Criteria subcriteria, java.lang.String propertyName)
java.util.List
CriteriaLoader. list(SharedSessionContractImplementor session)
ScrollableResultsImplementor
CriteriaLoader. scroll(SharedSessionContractImplementor session, ScrollMode scrollMode)
Constructors in org.hibernate.loader.criteria that throw HibernateException Constructor Description CriteriaLoader(OuterJoinLoadable persister, SessionFactoryImplementor factory, org.hibernate.internal.CriteriaImpl criteria, java.lang.String rootEntityName, LoadQueryInfluencers loadQueryInfluencers)
CriteriaQueryTranslator(SessionFactoryImplementor factory, org.hibernate.internal.CriteriaImpl criteria, java.lang.String rootEntityName, java.lang.String rootSQLAlias)
CriteriaQueryTranslator(SessionFactoryImplementor factory, org.hibernate.internal.CriteriaImpl criteria, java.lang.String rootEntityName, java.lang.String rootSQLAlias, CriteriaQuery outerQuery)
-
Uses of HibernateException in org.hibernate.loader.custom
Subclasses of HibernateException in org.hibernate.loader.custom Modifier and Type Class Description class
NonUniqueDiscoveredSqlAliasException
Methods in org.hibernate.loader.custom that throw HibernateException Modifier and Type Method Description java.lang.Object
ResultRowProcessor. buildResultRow(java.lang.Object[] data, java.sql.ResultSet resultSet, boolean hasTransformer, SharedSessionContractImplementor session)
Build a logical result row.java.lang.Object[]
ResultRowProcessor. buildResultRow(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
ConstructorResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
NonScalarResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
ScalarResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
protected java.lang.Object
CustomLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
CustomLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.util.List
CustomLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
ScrollableResultsImplementor
CustomLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
-
Uses of HibernateException in org.hibernate.loader.custom.sql
Constructors in org.hibernate.loader.custom.sql that throw HibernateException Constructor Description SQLCustomQuery(java.lang.String sqlQuery, NativeSQLQueryReturn[] queryReturns, java.util.Collection additionalQuerySpaces, SessionFactoryImplementor factory)
-
Uses of HibernateException in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity that throw HibernateException Modifier and Type Method Description protected java.lang.Object
AbstractEntityLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object
CollectionElementLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.lang.Object
UniqueEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
Deprecated.java.lang.Object
CollectionElementLoader. loadElement(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index)
-
Uses of HibernateException in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan that throw HibernateException Modifier and Type Method Description java.lang.Object
AbstractLoadPlanBasedEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.util.List
AbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entities -
Uses of HibernateException in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql that throw HibernateException Modifier and Type Method Description protected java.lang.Object
QueryLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
QueryLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.util.Iterator
QueryLoader. iterate(QueryParameters queryParameters, EventSource session)
java.util.List
QueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
ScrollableResultsImplementor
QueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
void
QueryLoader. validateScrollability()
-
Uses of HibernateException in org.hibernate.loader.plan.spi
Subclasses of HibernateException in org.hibernate.loader.plan.spi Modifier and Type Class Description class
QuerySpaceUidNotRegisteredException
Indicates an attempt to lookup a QuerySpace by its uid, when no registration has been made under that uid. -
Uses of HibernateException in org.hibernate.mapping
Methods in org.hibernate.mapping that throw HibernateException Modifier and Type Method Description java.lang.String
Column. getSqlType(Dialect dialect, Mapping mapping)
java.util.Iterator
Table. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, Identifier defaultCatalog, Identifier defaultSchema)
java.lang.String
Index. sqlCreateString(Dialect dialect, Mapping mapping, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
RelationalModel. sqlCreateString(Dialect dialect, Mapping p, java.lang.String defaultCatalog, java.lang.String defaultSchema)
Deprecated. -
Uses of HibernateException in org.hibernate.metadata
Methods in org.hibernate.metadata that throw HibernateException Modifier and Type Method Description java.io.Serializable
ClassMetadata. getIdentifier(java.lang.Object object)
Deprecated.Type
ClassMetadata. getPropertyType(java.lang.String propertyName)
Get the type of a particular (named) propertyjava.lang.Object
ClassMetadata. getPropertyValue(java.lang.Object object, java.lang.String propertyName)
Get the value of a particular (named) propertyjava.lang.Object[]
ClassMetadata. getPropertyValues(java.lang.Object entity)
Extract the property values from the given entity.default java.lang.Object[]
ClassMetadata. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SessionImplementor session)
Deprecated.(since 5.3) Use the form accepting SharedSessionContractImplementor insteadjava.lang.Object[]
ClassMetadata. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
Return the values of the mapped properties of the objectjava.lang.Object
ClassMetadata. getVersion(java.lang.Object object)
Get the version number (or timestamp) from the object's version property (or return null if not versioned)void
ClassMetadata. setPropertyValue(java.lang.Object object, java.lang.String propertyName, java.lang.Object value)
Set the value of a particular (named) propertyvoid
ClassMetadata. setPropertyValues(java.lang.Object object, java.lang.Object[] values)
Set the given values to the mapped properties of the given object -
Uses of HibernateException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw HibernateException Modifier and Type Method Description void
AbstractCollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Delete the persistent state of any elements that were removed from the collectionprotected void
AbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, int nextIndex, SharedSessionContractImplementor session)
protected abstract void
AbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
protected void
OneToManyPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
protected abstract int
AbstractCollectionPersister. doUpdateRows(java.io.Serializable key, PersistentCollection collection, SharedSessionContractImplementor session)
protected int
BasicCollectionPersister. doUpdateRows(java.io.Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
void
CollectionPersister. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
Initialize the given collection with the given key TODO: add owner argument!!void
NamedQueryCollectionInitializer. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Insert the persistent state of any new collection elementsvoid
OneToManyPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
void
CollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Process queued operations within the PersistentCollection.java.lang.Object
AbstractCollectionPersister. readElement(java.sql.ResultSet rs, java.lang.Object owner, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readElement(java.sql.ResultSet rs, java.lang.Object owner, java.lang.String[] columnAliases, SharedSessionContractImplementor session)
Read the element from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readIdentifier(java.sql.ResultSet rs, java.lang.String alias, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readIdentifier(java.sql.ResultSet rs, java.lang.String columnAlias, SharedSessionContractImplementor session)
Read the identifier from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readIndex(java.sql.ResultSet rs, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readIndex(java.sql.ResultSet rs, java.lang.String[] columnAliases, SharedSessionContractImplementor session)
Read the index from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readKey(java.sql.ResultSet rs, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readKey(java.sql.ResultSet rs, java.lang.String[] keyAliases, SharedSessionContractImplementor session)
Read the key from a row of the JDBC ResultSetvoid
AbstractCollectionPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. recreate(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
(Re)create the collection's persistent statevoid
OneToManyPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. remove(java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. remove(java.io.Serializable id, SharedSessionContractImplementor session)
Completely remove the persistent state of the collectionvoid
AbstractCollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Update the persistent state of any elements that were modifiedprotected int
AbstractCollectionPersister. writeElement(java.sql.PreparedStatement st, java.lang.Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeElementToWhere(java.sql.PreparedStatement st, java.lang.Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatementint
AbstractCollectionPersister. writeIdentifier(java.sql.PreparedStatement st, java.lang.Object id, int i, SharedSessionContractImplementor session)
Write the identifier to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeIndex(java.sql.PreparedStatement st, java.lang.Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeIndexToWhere(java.sql.PreparedStatement st, java.lang.Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeKey(java.sql.PreparedStatement st, java.io.Serializable key, int i, SharedSessionContractImplementor session)
Write the key to a JDBC PreparedStatement -
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, java.io.Serializable id, int tableNumber, Expectation expectation, java.sql.PreparedStatement statement)
java.lang.Object
AbstractEntityPersister. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityPersister. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
Create a new proxy instancejava.lang.Object
DiscriminatorType. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
protected int
AbstractEntityPersister. dehydrate(java.io.Serializable id, java.lang.Object[] fields, boolean[] includeProperty, boolean[][] includeColumns, int j, java.sql.PreparedStatement st, SharedSessionContractImplementor session, boolean isUpdate)
protected int
AbstractEntityPersister. dehydrate(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statementprotected void
AbstractEntityPersister. delete(java.io.Serializable id, java.lang.Object version, int j, java.lang.Object object, java.lang.String sql, SharedSessionContractImplementor session, java.lang.Object[] loadedState)
Perform an SQL DELETEvoid
AbstractEntityPersister. delete(java.io.Serializable id, java.lang.Object version, java.lang.Object object, SharedSessionContractImplementor session)
Delete an objectvoid
EntityPersister. delete(java.io.Serializable id, java.lang.Object version, java.lang.Object object, SharedSessionContractImplementor session)
Delete a persistent instanceint[]
AbstractEntityPersister. findDirty(java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.Object entity, SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.int[]
AbstractEntityPersister. findModified(java.lang.Object[] old, java.lang.Object[] current, java.lang.Object entity, SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.java.lang.Object
EntityPersister. forceVersionIncrement(java.io.Serializable id, java.lang.Object currentVersion, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityPersister. getCurrentVersion(java.io.Serializable id, SharedSessionContractImplementor session)
Retrieve the version numberjava.lang.Object
EntityPersister. getCurrentVersion(java.io.Serializable id, SharedSessionContractImplementor session)
Get the current version of the object, or return null if there is no row for the given identifier.java.lang.Object[]
AbstractEntityPersister. getDatabaseSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object[]
EntityPersister. getDatabaseSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without resolving identifiersjava.io.Serializable
AbstractEntityPersister. getIdByUniqueKey(java.io.Serializable key, java.lang.String uniquePropertyName, SharedSessionContractImplementor session)
java.io.Serializable
EntityPersister. getIdentifier(java.lang.Object object)
Deprecated.IdentifierGenerator
AbstractEntityPersister. getIdentifierGenerator()
java.lang.Object[]
AbstractEntityPersister. getNaturalIdentifierSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityPersister. getPropertyValue(java.lang.Object object, int i)
Get the value of a particular propertyjava.lang.Object[]
AbstractEntityPersister. getPropertyValuesToInsert(java.lang.Object object, java.util.Map mergeMap, SharedSessionContractImplementor session)
java.lang.Object[]
EntityPersister. getPropertyValuesToInsert(java.lang.Object object, java.util.Map mergeMap, SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)java.lang.Object
EntityPersister. getVersion(java.lang.Object object)
Get the version number (or timestamp) from the object's version property (or return null if not versioned)java.lang.Object[]
AbstractEntityPersister. hydrate(java.sql.ResultSet rs, java.io.Serializable id, java.lang.Object object, Loadable rootLoadable, java.lang.String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)
Unmarshall the fields of a persistent instance from a result set, without resolving associations or collections.java.lang.Object[]
Loadable. hydrate(java.sql.ResultSet rs, java.io.Serializable id, java.lang.Object object, Loadable rootLoadable, java.lang.String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)
Retrieve property values from one row of a result setprotected void
AbstractEntityPersister. insert(java.io.Serializable id, java.lang.Object[] fields, boolean[] notNull, int j, java.lang.String sql, java.lang.Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT.protected java.io.Serializable
AbstractEntityPersister. insert(java.lang.Object[] fields, boolean[] notNull, java.lang.String sql, java.lang.Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.java.io.Serializable
AbstractEntityPersister. insert(java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
void
EntityPersister. insert(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
Persist an instancejava.io.Serializable
EntityPersister. insert(java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)boolean
DiscriminatorType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
java.lang.Boolean
AbstractEntityPersister. isTransient(java.lang.Object entity, SharedSessionContractImplementor session)
java.lang.Boolean
EntityPersister. isTransient(java.lang.Object object, SharedSessionContractImplementor session)
Is this a new transient instance?java.lang.Object
AbstractEntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterjava.lang.Object
EntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)
Load an instance of the persistent class.java.lang.Object
EntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance of the persistent class.java.lang.Object
AbstractEntityPersister. loadByUniqueKey(java.lang.String propertyName, java.lang.Object uniqueKey, SharedSessionContractImplementor session)
void
AbstractEntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockMode lockMode, SharedSessionContractImplementor session)
void
AbstractEntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
void
EntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockMode lockMode, SharedSessionContractImplementor session)
Do a version check (optional operation)void
EntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
Do a version check (optional operation)java.lang.Object
DiscriminatorType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
DiscriminatorType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
void
DiscriminatorType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
DiscriminatorType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
java.lang.Object
DiscriminatorType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.String
DiscriminatorType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
void
AbstractEntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, java.lang.Object[] oldFields, java.lang.Object oldVersion, java.lang.Object object, java.lang.Object rowId, SharedSessionContractImplementor session)
Update an objectprotected boolean
AbstractEntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object[] oldFields, java.lang.Object rowId, boolean[] includeProperty, int j, java.lang.Object oldVersion, java.lang.Object object, java.lang.String sql, SharedSessionContractImplementor session)
void
EntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, java.lang.Object[] oldFields, java.lang.Object oldVersion, java.lang.Object object, java.lang.Object rowId, SharedSessionContractImplementor session)
Update a persistent instanceprotected void
AbstractEntityPersister. updateOrInsert(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object[] oldFields, java.lang.Object rowId, boolean[] includeProperty, int j, java.lang.Object oldVersion, java.lang.Object object, java.lang.String sql, SharedSessionContractImplementor session)
Perform an SQL UPDATE or SQL INSERTConstructors in org.hibernate.persister.entity that throw HibernateException Constructor Description AbstractEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)
JoinedSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)
SingleTableEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)
UnionSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, 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 couyld not be determined.Methods in org.hibernate.persister.spi that throw HibernateException Modifier and Type Method Description CollectionPersister
PersisterFactory. createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
Create a collection persister instance.EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
Create an entity persister instance. -
Uses of HibernateException in org.hibernate.persister.walking.spi
Subclasses of HibernateException in org.hibernate.persister.walking.spi Modifier and Type Class Description class
WalkingException
Indicates a problem walking the domain tree. -
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 aParameterRegistration
class
ParameterStrategyException
class
UnknownSqlResultSetMappingException
-
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 a PropertyAccessclass
PropertyAccessException
Indicates a problem reading or writing value from/to a persistent property.class
PropertyAccessSerializationException
-
Uses of HibernateException in org.hibernate.proxy
Methods in org.hibernate.proxy that throw HibernateException Modifier and Type Method Description java.lang.Object
AbstractLazyInitializer. getImplementation(SharedSessionContractImplementor s)
java.lang.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(java.io.Serializable 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(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set<java.lang.Class> interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType)
Called immediately after instantiation of this factory.void
AbstractLazyInitializer. setSession(SharedSessionContractImplementor s)
void
LazyInitializer. setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session. -
Uses of HibernateException in org.hibernate.proxy.map
Methods in org.hibernate.proxy.map that throw HibernateException Modifier and Type Method Description void
MapProxyFactory. postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType)
-
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(java.io.Serializable id, SharedSessionContractImplementor session)
void
ByteBuddyProxyFactory. postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set<java.lang.Class> interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType)
-
Uses of HibernateException in org.hibernate.proxy.pojo.javassist
Methods in org.hibernate.proxy.pojo.javassist that throw HibernateException Modifier and Type Method Description HibernateProxy
JavassistProxyFactory. getProxy(java.io.Serializable id, SharedSessionContractImplementor session)
void
JavassistProxyFactory. postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set<java.lang.Class> interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType)
-
Uses of HibernateException in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return types with arguments of type HibernateException Modifier and Type Method Description java.util.Map<java.lang.String,HibernateException>
NamedQueryRepository. checkNamedQueries(QueryPlanCache queryPlanCache)
-
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.result
Subclasses of HibernateException in org.hibernate.result Modifier and Type Class Description class
NoMoreReturnsException
-
Uses of HibernateException in org.hibernate.secure.spi
Subclasses of HibernateException in org.hibernate.secure.spi Modifier and Type Class Description class
IntegrationException
-
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 unkown service was requested from the registry.class
UnknownUnwrapTypeException
-
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.spatial.criterion
Methods in org.hibernate.spatial.criterion that throw HibernateException Modifier and Type Method Description TypedValue[]
DWithinExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
HavingSridExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
IsEmptyExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SpatialFilter. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
TypedValue[]
SpatialRelateExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
DWithinExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
HavingSridExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
IsEmptyExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
SpatialFilter. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
SpatialRelateExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
-
Uses of HibernateException in org.hibernate.spatial.dialect.db2
Methods in org.hibernate.spatial.dialect.db2 that throw HibernateException Modifier and Type Method Description java.lang.String
DB2SpatialDialect. getTypeName(int code, long length, int precision, int scale)
-
Uses of HibernateException in org.hibernate.spatial.dialect.mysql
Methods in org.hibernate.spatial.dialect.mysql that throw HibernateException Modifier and Type Method Description java.lang.String
MySQL56SpatialDialect. getTypeName(int code, long length, int precision, int scale)
java.lang.String
MySQL5SpatialDialect. getTypeName(int code, long length, int precision, int scale)
-
Uses of HibernateException in org.hibernate.spatial.dialect.oracle.criterion
Methods in org.hibernate.spatial.dialect.oracle.criterion that throw HibernateException Modifier and Type Method Description Type[]
OracleSpatialProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
java.lang.String
OracleSpatialProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
-
Uses of HibernateException in org.hibernate.sql.ordering.antlr
Methods in org.hibernate.sql.ordering.antlr that throw HibernateException Modifier and Type Method Description SqlValueReference[]
ColumnMapper. map(java.lang.String reference)
Resolve the property reference to its underlying columns. -
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.hbm2ddl
Subclasses of HibernateException in org.hibernate.tool.hbm2ddl Modifier and Type Class Description class
ImportScriptException
Deprecated.Everything in this package has been replaced withSchemaManagementTool
and friends. -
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.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. -
Uses of HibernateException in org.hibernate.tuple.component
Methods in org.hibernate.tuple.component that throw HibernateException Modifier and Type Method Description java.lang.Object
AbstractComponentTuplizer. getPropertyValue(java.lang.Object component, int i)
java.lang.Object[]
AbstractComponentTuplizer. getPropertyValues(java.lang.Object component)
java.lang.Object[]
PojoComponentTuplizer. getPropertyValues(java.lang.Object component)
java.lang.Object
AbstractComponentTuplizer. instantiate()
This method does not populate the component parentvoid
AbstractComponentTuplizer. setPropertyValues(java.lang.Object component, java.lang.Object[] values)
void
PojoComponentTuplizer. setPropertyValues(java.lang.Object component, java.lang.Object[] values)
-
Uses of HibernateException in org.hibernate.tuple.entity
Subclasses of HibernateException in org.hibernate.tuple.entity Modifier and Type Class Description static class
EntityMetamodel.ValueGenerationStrategyException
Methods in org.hibernate.tuple.entity that throw HibernateException Modifier and Type Method Description java.lang.Object
EntityTuplizer. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
Generates an appropriate proxy representation of this entity for this entity-mode.java.io.Serializable
AbstractEntityTuplizer. getIdentifier(java.lang.Object entity)
java.io.Serializable
EntityTuplizer. getIdentifier(java.lang.Object entity)
Deprecated.java.lang.Object
AbstractEntityTuplizer. getPropertyValue(java.lang.Object entity, int i)
java.lang.Object
AbstractEntityTuplizer. getPropertyValue(java.lang.Object entity, java.lang.String propertyPath)
java.lang.Object
EntityTuplizer. getPropertyValue(java.lang.Object entity, java.lang.String propertyName)
Extract the value of a particular property from the given entity.java.lang.Object[]
PojoEntityTuplizer. getPropertyValues(java.lang.Object entity)
java.lang.Object[]
EntityTuplizer. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
Extract the values of the insertable properties of the entity (including backrefs)java.lang.Object
AbstractEntityTuplizer. getVersion(java.lang.Object entity)
java.lang.Object
EntityTuplizer. getVersion(java.lang.Object entity)
Extract the value of the version property from the given entity.java.lang.Object
AbstractEntityTuplizer. instantiate()
java.lang.Object
AbstractEntityTuplizer. instantiate(java.io.Serializable id)
java.lang.Object
EntityTuplizer. instantiate(java.io.Serializable id)
Deprecated.void
AbstractEntityTuplizer. setIdentifier(java.lang.Object entity, java.io.Serializable id)
void
EntityTuplizer. setIdentifier(java.lang.Object entity, java.io.Serializable id)
Deprecated.void
AbstractEntityTuplizer. setPropertyValue(java.lang.Object entity, int i, java.lang.Object value)
void
AbstractEntityTuplizer. setPropertyValue(java.lang.Object entity, java.lang.String propertyName, java.lang.Object value)
void
EntityTuplizer. setPropertyValue(java.lang.Object entity, int i, java.lang.Object value)
Inject the value of a particular property.void
EntityTuplizer. setPropertyValue(java.lang.Object entity, java.lang.String propertyName, java.lang.Object value)
Inject the value of a particular property.void
AbstractEntityTuplizer. setPropertyValues(java.lang.Object entity, java.lang.Object[] values)
void
PojoEntityTuplizer. setPropertyValues(java.lang.Object entity, java.lang.Object[] values)
-
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 serializaed/deserializedMethods in org.hibernate.type that throw HibernateException Modifier and Type Method Description java.lang.Object
AbstractStandardBasicType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. assemble(java.io.Serializable object, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EnumType. assemble(java.io.Serializable cached, java.lang.Object owner)
java.lang.Object
ManyToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
OneToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
SpecialOneToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
Reconstruct the object from its disassembled state.java.lang.Object
CollectionType. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.Object
ComponentType. deepCopy(java.lang.Object component, SessionFactoryImplementor factory)
java.lang.Object
CompositeCustomType. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.Object
CustomType. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.Object
EnumType. deepCopy(java.lang.Object value)
java.lang.Object
MetaType. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.Object
Type. deepCopy(java.lang.Object value, SessionFactoryImplementor factory)
Return a deep copy of the persistent state, stopping at entities and at collections.java.io.Serializable
AbstractStandardBasicType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
AbstractType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
AnyType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
CollectionType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
ComponentType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
CompositeCustomType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
EnumType. disassemble(java.lang.Object value)
java.io.Serializable
ManyToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
OneToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
SpecialOneToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
Type. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Return a disassembled representation of the object.boolean
EnumType. equals(java.lang.Object x, java.lang.Object y)
T
AbstractStandardBasicType. fromStringValue(java.lang.String xml)
java.lang.Object
CustomType. fromStringValue(java.lang.String string)
T
SingleColumnType. fromStringValue(java.lang.String xml)
T
StringRepresentableType. fromStringValue(java.lang.String string)
Consume the given string representation back into this types java form.java.util.Date
TimestampType. fromStringValue(java.lang.String xml)
java.lang.Object
MetaType. fromXMLString(java.lang.String xml, Mapping factory)
java.lang.Object
AbstractStandardBasicType. get(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
java.lang.Object
SingleColumnType. get(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
Get a column value from a result set, without worrying about the possibility of null values.int
Type. getHashCode(java.lang.Object x)
Get a hash code, consistent with persistence "equality".int
Type. getHashCode(java.lang.Object x, SessionFactoryImplementor factory)
Get a hash code, consistent with persistence "equality".protected java.lang.Object
EntityType. getIdentifier(java.lang.Object value, SharedSessionContractImplementor session)
java.lang.Object
AnyType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. getPropertyValue(java.lang.Object component, int i)
java.lang.Object
ComponentType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. getPropertyValue(java.lang.Object component, int i, EntityMode entityMode)
java.lang.Object
CompositeCustomType. getPropertyValue(java.lang.Object component, int i)
java.lang.Object
CompositeCustomType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
CompositeType. getPropertyValue(java.lang.Object component, int index, SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.java.lang.Object[]
AnyType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
ComponentType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
ComponentType. getPropertyValues(java.lang.Object component, EntityMode entityMode)
java.lang.Object[]
CompositeCustomType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
CompositeCustomType. getPropertyValues(java.lang.Object component, EntityMode entityMode)
java.lang.Object[]
CompositeType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instancejava.lang.Object[]
CompositeType. getPropertyValues(java.lang.Object component, EntityMode entityMode)
Extract the values of the component properties from the given component instance without access to the session.int
EnumType. hashCode(java.lang.Object x)
java.lang.Object
AbstractStandardBasicType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ManyToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
OneToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
SpecialOneToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value from the JDBC result set.PersistentCollection
ArrayType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
BagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
java.lang.Object
ComponentType. instantiate(java.lang.Object parent, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. instantiate(EntityMode entityMode)
This method does not populate the component parentPersistentCollection
CustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
java.lang.Object
EmbeddedComponentType. instantiate(java.lang.Object parent, SharedSessionContractImplementor session)
PersistentCollection
IdentifierBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
boolean
AbstractType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
AnyType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(java.lang.Object x, java.lang.Object y, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(java.lang.Object x, java.lang.Object y, SharedSessionContractImplementor session)
boolean
CompositeCustomType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CustomType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
MetaType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
Type. isDirty(java.lang.Object oldState, java.lang.Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
Type. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
ComponentType. isEqual(java.lang.Object x, java.lang.Object y)
boolean
ComponentType. isEqual(java.lang.Object x, java.lang.Object y, SessionFactoryImplementor factory)
boolean
CompositeCustomType. isEqual(java.lang.Object x, java.lang.Object y)
boolean
CustomType. isEqual(java.lang.Object x, java.lang.Object y)
boolean
Type. isEqual(java.lang.Object x, java.lang.Object y)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state).boolean
Type. isEqual(java.lang.Object x, java.lang.Object y, SessionFactoryImplementor factory)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state).boolean
AbstractType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AnyType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
Type. isModified(java.lang.Object dbState, java.lang.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(java.lang.Object x, java.lang.Object y)
boolean
AnyType. isSame(java.lang.Object x, java.lang.Object y)
boolean
ComponentType. isSame(java.lang.Object x, java.lang.Object y)
boolean
Type. isSame(java.lang.Object x, java.lang.Object y)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state) taking a shortcut for entity references.java.lang.Object
EntityType. loadByUniqueKey(java.lang.String entityName, java.lang.String uniqueKeyPropertyName, java.lang.Object key, SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.java.lang.Object
AnyType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String columnName, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
MetaType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
MetaType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
T
SingleColumnType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
Get a column value from a result set by name.java.lang.Object
Type. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value of themapped class
from the JDBC result set.java.lang.Object
Type. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value of themapped class
from the JDBC result set.void
AbstractSingleColumnStandardBasicType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int begin, boolean[] settable, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int begin, SharedSessionContractImplementor session)
void
CompositeCustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CompositeCustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
EnumType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
MetaType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
MetaType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
Type. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.void
Type. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the JDBC prepared statement.protected java.lang.String
CollectionType. renderLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
protected java.lang.String
CustomCollectionType. renderLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.Object
AbstractType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
java.lang.Object
AnyType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
CollectionType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
ComponentType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
ComponentType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
java.lang.Object
CompositeCustomType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
CustomType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
EntityType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
EnumType. replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner)
java.lang.Object
Type. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map 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.java.lang.Object
Type. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map 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.java.lang.Object
ArrayType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
CustomCollectionType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
MapType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
ComponentType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Resolve an identifier or unique key valuejava.lang.Object
EntityType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
ManyToOneType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
Type. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
default java.lang.Object
Type. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
The second phase of 2-phase loading.protected java.lang.Object
EntityType. resolveIdentifier(java.io.Serializable id, SharedSessionContractImplementor session)
protected java.lang.Object
EntityType. resolveIdentifier(java.io.Serializable id, SharedSessionContractImplementor session, java.lang.Boolean overridingEager)
Resolve an identifier via a load.java.lang.Object
AbstractStandardBasicType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref associations.void
AbstractStandardBasicType. set(java.sql.PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
void
SingleColumnType. set(java.sql.PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
Set a parameter value without worrying about the possibility of null values.void
ComponentType. setPropertyValues(java.lang.Object component, java.lang.Object[] values, EntityMode entityMode)
void
CompositeCustomType. setPropertyValues(java.lang.Object component, java.lang.Object[] values, EntityMode entityMode)
void
CompositeType. setPropertyValues(java.lang.Object component, java.lang.Object[] values, EntityMode entityMode)
Inject property values onto the given component instancejava.lang.String
AnyType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
ArrayType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
CollectionType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
ComponentType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
CompositeCustomType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
CustomType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
MetaType. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
java.lang.String
Type. toLoggableString(java.lang.Object value, SessionFactoryImplementor factory)
Generate a representation of the value for logging purposes.java.lang.String
CustomType. toString(java.lang.Object value)
java.lang.String
SingleColumnType. toString(T value)
java.lang.String
StringRepresentableType. toString(T value)
Render the value to the string representation.java.lang.String
MetaType. toXMLString(java.lang.Object value, SessionFactoryImplementor factory)
-
Uses of HibernateException in org.hibernate.type.descriptor.java
Methods in org.hibernate.type.descriptor.java that return HibernateException Modifier and Type Method Description protected HibernateException
AbstractTypeDescriptor. unknownUnwrap(java.lang.Class conversionType)
protected HibernateException
AbstractTypeDescriptor. unknownWrap(java.lang.Class conversionType)
-
Uses of HibernateException in org.hibernate.usertype
Methods in org.hibernate.usertype that throw HibernateException Modifier and Type Method Description java.lang.Object
CompositeUserType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
Reconstruct an object from the cacheable representation.java.lang.Object
UserType. assemble(java.io.Serializable cached, java.lang.Object owner)
Reconstruct an object from the cacheable representation.java.lang.Object
CompositeUserType. deepCopy(java.lang.Object value)
Return a deep copy of the persistent state, stopping at entities and at collections.java.lang.Object
UserType. deepCopy(java.lang.Object value)
Return a deep copy of the persistent state, stopping at entities and at collections.java.io.Serializable
CompositeUserType. disassemble(java.lang.Object value, SharedSessionContractImplementor session)
Transform the object into its cacheable representation.java.io.Serializable
UserType. disassemble(java.lang.Object value)
Transform the object into its cacheable representation.boolean
CompositeUserType. equals(java.lang.Object x, java.lang.Object y)
Compare two instances of the class mapped by this type for persistence "equality".boolean
UserType. equals(java.lang.Object x, java.lang.Object y)
Compare two instances of the class mapped by this type for persistence "equality".java.lang.Object
CompositeUserType. getPropertyValue(java.lang.Object component, int property)
Get the value of a property.int
CompositeUserType. hashCode(java.lang.Object x)
Get a hashcode for the instance, consistent with persistence "equality"int
UserType. hashCode(java.lang.Object x)
Get a hashcode for the instance, consistent with persistence "equality"PersistentCollection
UserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapperjava.lang.Object
CompositeUserType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.java.lang.Object
UserType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.void
CompositeUserType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.void
UserType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.java.lang.Object
CompositeUserType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner)
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.java.lang.Object
UserType. replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner)
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.java.lang.Object
UserCollectionType. replaceElements(java.lang.Object original, java.lang.Object target, CollectionPersister persister, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collectionvoid
CompositeUserType. setPropertyValue(java.lang.Object component, int property, java.lang.Object value)
Set the value of a property.
-