Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.action.spi |
Defines SPI hooks into the
ActionQueue . |
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.archive.spi |
Defines the SPI for support of "scanning" of "archives".
|
org.hibernate.boot.registry.classloading.spi |
The class loading service SPI.
|
org.hibernate.boot.registry.selector.spi |
Defines actual contract used for strategy selection :
StrategySelector . |
org.hibernate.boot.spi | |
org.hibernate.bytecode.enhance.spi |
package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.bytecode.spi |
Package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.cache |
This package defines API of the Hibernate second level cache service.
|
org.hibernate.cache.spi |
Defines the integration aspect of Hibernate's second-level
caching allowing "caching back ends" to be plugged in as
a caching provider.
|
org.hibernate.cache.spi.access |
Defines contracts for transactional and concurrent access to cached
entity and
collection data. |
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.collection.spi |
SPI definitions for persistent collections
|
org.hibernate.context |
Defines support for "current session" feature.
|
org.hibernate.context.spi |
SPI level contracts around "current session" support.
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.dialect.lock |
Support for Dialect-specific locking strategies
|
org.hibernate.engine.jdbc.dialect.spi |
Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.
|
org.hibernate.engine.jndi |
Support for JNDI within Hibernate
|
org.hibernate.engine.query | |
org.hibernate.engine.spi | |
org.hibernate.engine.transaction.jta.platform.spi | |
org.hibernate.engine.transaction.spi | |
org.hibernate.event.service.spi | |
org.hibernate.event.spi | |
org.hibernate.exception |
This package is a fork of Apache commons-lang nestable exceptions.
|
org.hibernate.exception.spi | |
org.hibernate.graph |
Hibernate's (extended) support for JPA's entity graphs
|
org.hibernate.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.jdbc | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.entity | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metadata |
This package defines an API for accessing the Hibernate runtime metamodel.
|
org.hibernate.metamodel.mapping.ordering.ast | |
org.hibernate.metamodel.model.domain |
Hibernate extensions to and implementations of the JPA metamodel
|
org.hibernate.metamodel.relational | |
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.persister.spi | |
org.hibernate.persister.walking.spi | |
org.hibernate.procedure | |
org.hibernate.property.access.spi |
Defines strategies for accessing the persistent properties of an entity or composite.
|
org.hibernate.proxy |
This package defines a framework for lazy-initializing
entity proxies.
|
org.hibernate.proxy.map | |
org.hibernate.proxy.pojo.bytebuddy | |
org.hibernate.query | |
org.hibernate.query.hql |
Package defining support for HQL queries (including supprt for JPQL
as a subset of HQL).
|
org.hibernate.query.named | |
org.hibernate.query.results |
Support for defining result-set mappings used in
NativeQuery
and ProcedureCall / StoredProcedureQuery . |
org.hibernate.query.spi | |
org.hibernate.query.sqm | |
org.hibernate.query.sqm.sql |
Package for the translation of SQM into SQL AST
|
org.hibernate.query.sqm.tree.from | |
org.hibernate.resource.transaction |
Defines the resource-level transaction capabilities of Hibernate, which revolves around the
TransactionCoordinator contract. |
org.hibernate.result | |
org.hibernate.secure.spi | |
org.hibernate.service | |
org.hibernate.service.spi | |
org.hibernate.sql.ast |
Package defining a SQL AST for use in creating and executing various JDBC operations
|
org.hibernate.sql.exec |
Package defining support for execution of SQL statements through JDBC.
|
org.hibernate.sql.results |
Package for processing JDBC ResultSets into hydrated domain model graphs based on a "load plan"
defined by a "domain result graph" - one or more
DomainResult nodes
with zero-or-more Fetch nodes |
org.hibernate.tool.hbm2ddl |
The hbm2ddl tool.
|
org.hibernate.tool.schema.extract.spi | |
org.hibernate.tool.schema.spi | |
org.hibernate.tuple.component | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.type.descriptor.java | |
org.hibernate.type.descriptor.java.spi | |
org.hibernate.usertype |
Interfaces for user-defined custom types.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationException
Annotation related exception.
|
class |
CallbackException
Intended to be thrown from
Lifecycle and Interceptor 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 a
SQLException . |
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 |
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 |
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 a
Session 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.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.cancelQuery()
Cancel the execution of the current query.
|
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.
|
static void |
Hibernate.close(Iterator iterator)
Close an
Iterator instances obtained from org.hibernate.Query#iterate() immediately
instead of waiting until the session is closed or disconnected. |
default <T> T |
SharedSessionContract.doReturningWork(ReturningWork<T> work)
Controller for allowing users to perform JDBC related work using the Connection managed by this Session.
|
default void |
SharedSessionContract.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(String filterName)
Obtain the definition of a filter by name.
|
static void |
Hibernate.initialize(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?
|
Session |
SessionFactory.openSession()
Open a
Session . |
void |
Transaction.registerSynchronization(Synchronization synchronization)
Register a user synchronization callback for this transaction.
|
void |
Filter.validate()
Perform validation of the filter state.
|
Modifier and Type | Method and Description |
---|---|
void |
Executable.beforeExecutions()
Called before executing any actions.
|
void |
Executable.execute()
Execute this action.
|
Modifier and Type | Class and Description |
---|---|
class |
MappingNotFoundException |
class |
UnsupportedOrmXsdVersionException |
Modifier and Type | Class and Description |
---|---|
class |
ArchiveException
Indicates a problem accessing or visiting the archive
|
Modifier and Type | Class and Description |
---|---|
class |
ClassLoadingException
Indicates a problem performing class loading.
|
Modifier and Type | Class and Description |
---|---|
class |
StrategySelectionException
Indicates a problem performing the selection/resolution.
|
Modifier and Type | Class and Description |
---|---|
static class |
InFlightMetadataCollector.DuplicateSecondaryTableException |
Modifier and Type | Class and Description |
---|---|
class |
EnhancementException
An exception indicating some kind of problem performing bytecode enhancement.
|
Modifier and Type | Class and Description |
---|---|
class |
NotInstrumentedException
Indicates a condition where an instrumented/enhanced class was expected, but the class was not
instrumented/enhanced.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheException
Something went wrong in the cache
|
class |
NoCacheRegionFactoryAvailableException
Indicates a condition where a second-level cache implementation was expected to be available, but
none was found on the classpath.
|
Modifier and Type | Method and Description |
---|---|
default void |
CacheImplementor.evictQueries()
Clean up the default query cache
|
List |
QueryResultsCache.get(QueryKey key,
Set<String> spaces,
SharedSessionContractImplementor session)
Get results from the cache.
|
List |
QueryResultsCache.get(QueryKey key,
String[] spaces,
SharedSessionContractImplementor session)
Get results from the cache.
|
boolean |
QueryResultsCache.put(QueryKey key,
List result,
SharedSessionContractImplementor session)
Put a result into the query cache.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
StandardCacheEntryImpl.assemble(Object instance,
Object id,
EntityPersister persister,
Interceptor interceptor,
EventSource session)
Assemble the previously disassembled state represented by this entry into the given entity instance.
|
Constructor and Description |
---|
StandardCacheEntryImpl(Object[] state,
EntityPersister persister,
Object version,
SharedSessionContractImplementor session,
Object owner)
Constructs a StandardCacheEntryImpl
|
Modifier and Type | Class and 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 implemented
|
class |
RecoverableException
Deprecated.
Was only ever referenced in a single place, in an extremely dubious way.
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
Configuration.buildSessionFactory()
Create a
SessionFactory using the properties and mappings in this configuration. |
SessionFactory |
Configuration.buildSessionFactory(ServiceRegistry serviceRegistry)
Create a
SessionFactory 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(Document document)
Deprecated.
No longer supported.
|
Configuration |
Configuration.configure(File configFile)
Use the mappings and properties specified in the given application file.
|
Configuration |
Configuration.configure(String resource)
Use the mappings and properties specified in the given application resource.
|
Configuration |
Configuration.configure(URL url)
Use the mappings and properties specified in the given document.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentCollection.setCurrentSession(SharedSessionContractImplementor session)
Associate the collection with the given session.
|
Modifier and Type | Class and Description |
---|---|
class |
TenantIdentifierMismatchException
Indicates that tenant identifiers did not match in cases where
CurrentTenantIdentifierResolver.validateExistingCurrentSessions() returns
true and there is a mismatch found. |
Modifier and Type | Method and Description |
---|---|
Session |
CurrentSessionContext.currentSession()
Retrieve the current session according to the scoping defined
by this implementation.
|
Modifier and Type | Method and Description |
---|---|
static Dialect |
Dialect.getDialect()
Deprecated.
this just calls the default constructor and does not pass in the
DialectResolutionInfo . |
static Dialect |
Dialect.getDialect(Properties props)
Deprecated.
this just calls the default constructor and does not pass in the
DialectResolutionInfo . |
String |
Dialect.getHibernateTypeName(int code)
|
String |
Dialect.getHibernateTypeName(int code,
Integer length,
Integer precision,
Integer scale)
|
String |
Dialect.getRawTypeName(int code)
Get the name of the database type associated with the given
Types typecode, with no length, precision,
or scale. |
String |
Dialect.getRawTypeName(JdbcTypeDescriptor jdbcTypeDescriptor) |
String |
Dialect.getTypeName(int code) |
String |
DerbyDialect.getTypeName(int code,
Size size) |
String |
Dialect.getTypeName(int code,
Size size)
Get the name of the database type associated with the given
java.sql.Types typecode.
|
String |
Dialect.getTypeName(JdbcTypeDescriptor jdbcTypeDescriptor) |
Modifier and Type | Class and Description |
---|---|
class |
LockingStrategyException
Represents an error trying to apply a
LockingStrategy to an entity |
class |
OptimisticEntityLockException
Represents an error trying to apply an optimistic
LockingStrategy to an entity |
class |
PessimisticEntityLockException
Represents an error trying to apply a pessimistic
LockingStrategy to an entity |
Modifier and Type | Method and Description |
---|---|
Dialect |
DialectFactory.buildDialect(Map configValues,
DialectResolutionInfoSource resolutionInfoSource)
Builds an appropriate Dialect instance.
|
Modifier and Type | Class and Description |
---|---|
class |
JndiException
An exception indicating trouble accessing JNDI
|
class |
JndiNameException
Indicates a problem with a given JNDI name being deemed as not valid.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterRecognitionException
Indicates a problem during parameter recognition via
ParameterRecognizer |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ExceptionConverter.convert(HibernateException e)
Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use
of exceptions outside its exception hierarchy, though they are all runtime exceptions.
|
RuntimeException |
ExceptionConverter.convert(HibernateException e,
LockOptions lockOptions)
Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use
of exceptions outside its exception hierarchy, though they are all runtime exceptions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SharedSessionContractImplementor.autoFlushIfRequired(Set<String> querySpaces)
detect in-memory changes, determine if the changes are to tables
named in the query and, if so, complete execution the flush
|
boolean |
SessionDelegatorBaseImpl.autoFlushIfRequired(Set<String> querySpaces) |
void |
SessionDelegatorBaseImpl.cancelQuery() |
void |
CascadingAction.cascade(EventSource session,
Object child,
String entityName,
Object anything,
boolean isCascadeDeleteEnabled)
Cascade the action to the child object.
|
void |
SessionDelegatorBaseImpl.close() |
void |
SessionFactoryDelegatingImpl.close() |
<T> T |
SessionDelegatorBaseImpl.doReturningWork(ReturningWork<T> work) |
void |
SessionDelegatorBaseImpl.doWork(Work work) |
void |
ActionQueue.executeActions()
Perform all currently queued actions.
|
void |
ActionQueue.executeInserts()
Perform all currently queued entity-insertion actions.
|
void |
SessionImplementor.forceFlush(EntityEntry e) |
void |
SessionDelegatorBaseImpl.forceFlush(EntityEntry e) |
Session |
SessionFactoryDelegatingImpl.getCurrentSession() |
EntityPersister |
SharedSessionContractImplementor.getEntityPersister(String entityName,
Object object)
Get the EntityPersister for any instance
|
EntityPersister |
SessionDelegatorBaseImpl.getEntityPersister(String entityName,
Object object) |
Object |
SharedSessionContractImplementor.getEntityUsingInterceptor(EntityKey key)
Get the entity instance associated with the given Key,
calling the Interceptor if necessary
|
Object |
SessionDelegatorBaseImpl.getEntityUsingInterceptor(EntityKey key) |
FilterDefinition |
SessionFactoryDelegatingImpl.getFilterDefinition(String filterName) |
Collection |
CollectionEntry.getOrphans(String entityName,
PersistentCollection collection)
Get the collection orphans (entities which were removed from the collection)
|
String |
SharedSessionContractImplementor.guessEntityName(Object entity)
The guessed entity name for an entity not in an association
|
String |
SessionDelegatorBaseImpl.guessEntityName(Object entity) |
Object |
SharedSessionContractImplementor.immediateLoad(String entityName,
Object id)
Load an instance immediately.
|
Object |
SessionDelegatorBaseImpl.immediateLoad(String entityName,
Object id) |
void |
SharedSessionContractImplementor.initializeCollection(PersistentCollection collection,
boolean writing)
Initialize the collection (if not already initialized)
|
void |
SessionDelegatorBaseImpl.initializeCollection(PersistentCollection collection,
boolean writing) |
void |
PersistenceContext.initializeNonLazyCollections()
Force initialization of all non-lazy collections encountered during
the current two-phase load (actually, this is a no-op, unless this
is the "outermost" load)
|
Object |
SessionImplementor.instantiate(EntityPersister persister,
Object id) |
Object |
SessionDelegatorBaseImpl.instantiate(EntityPersister persister,
Object id) |
Object |
SharedSessionContractImplementor.instantiate(String entityName,
Object id)
Instantiate the entity class, initializing with the given identifier
|
Object |
SessionDelegatorBaseImpl.instantiate(String entityName,
Object id) |
Object |
SharedSessionContractImplementor.internalLoad(String entityName,
Object id,
boolean eager,
boolean nullable)
Load an instance without checking if it was deleted.
|
Object |
SessionDelegatorBaseImpl.internalLoad(String entityName,
Object id,
boolean eager,
boolean nullable) |
boolean |
SessionDelegatorBaseImpl.isDirty() |
List |
SharedSessionContractImplementor.list(NativeSQLQuerySpecification spec,
QueryParameters queryParameters)
Execute a native SQL query, and return the results as a fully built list.
|
List |
SessionDelegatorBaseImpl.list(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
void |
SessionImplementor.merge(String entityName,
Object object,
Map copiedAlready)
Deprecated.
OperationalContext should cover this overload I believe; Gail?
|
void |
SessionDelegatorBaseImpl.merge(String entityName,
Object object,
Map copiedAlready) |
Session |
SessionFactoryDelegatingImpl.openSession() |
Session |
SessionFactoryDelegatingImpl.openTemporarySession() |
Session |
SessionFactoryImplementor.openTemporarySession()
Get a non-transactional "current" session (used by hibernate-envers)
|
void |
SessionImplementor.persist(String entityName,
Object object,
Map createdAlready)
Deprecated.
OperationalContext should cover this overload I believe; Gail?
|
void |
SessionDelegatorBaseImpl.persist(String entityName,
Object object,
Map createdAlready) |
void |
CollectionEntry.postFlush(PersistentCollection collection)
Called after a successful flush
|
void |
CollectionEntry.postInitialize(PersistentCollection collection) |
void |
CollectionEntry.preFlush(PersistentCollection collection) |
void |
ActionQueue.prepareActions()
Prepares the internal action queues for execution.
|
void |
SessionImplementor.refresh(String entityName,
Object object,
Map refreshedAlready)
Deprecated.
OperationalContext should cover this overload I believe; Gail?
|
void |
SessionDelegatorBaseImpl.refresh(String entityName,
Object object,
Map refreshedAlready) |
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scroll(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
void |
QueryParameters.traceParameters(SessionFactoryImplementor factory) |
Modifier and Type | Class and Description |
---|---|
class |
JtaPlatformException
Indicates a problem interacting with the underlying JTA platform.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
IsolationDelegate.delegateCallable(Callable<T> callable,
boolean transacted)
Invoke the given callable in isolation from current transaction.
|
<T> T |
IsolationDelegate.delegateWork(WorkExecutorVisitable<T> work,
boolean transacted)
Perform the given work in isolation from current transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
EventListenerRegistrationException
Indicates a problem registering an event listener.
|
Modifier and Type | Method and Description |
---|---|
void |
EventSource.forceFlush(EntityEntry e)
Force an immediate flush
|
Object |
EventSource.instantiate(EntityPersister persister,
Object id)
Instantiate an entity instance, using either an interceptor,
or the given persister
|
void |
EventSource.merge(String entityName,
Object object,
Map copiedAlready)
Cascade merge an entity instance
|
void |
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,
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,
Map copiedAlready)
Handle the given merge event.
|
void |
PersistEventListener.onPersist(PersistEvent event)
Handle the given create event.
|
void |
PersistEventListener.onPersist(PersistEvent event,
Map createdAlready)
Handle the given create event.
|
void |
RefreshEventListener.onRefresh(RefreshEvent event)
Handle the given refresh event.
|
void |
RefreshEventListener.onRefresh(RefreshEvent event,
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(String entityName,
Object object,
Map createdAlready)
Cascade persist an entity instance
|
void |
EventSource.refresh(String entityName,
Object object,
Map refreshedAlready)
Cascade refresh an entity instance
|
Modifier and Type | Class and 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).
|
Modifier and Type | Method and Description |
---|---|
static SQLExceptionConverter |
SQLExceptionConverterFactory.buildSQLExceptionConverter(Dialect dialect,
Properties properties)
Build a SQLExceptionConverter instance.
|
void |
Configurable.configure(Properties properties)
Configure the component, using the given settings and properties.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotBecomeEntityGraphException
Indicates an illegal attempt to make a
Graph become
an EntityGraph via Graph.makeRootGraph(String, boolean) . |
class |
CannotContainSubGraphException
Indicates an attempt was made to add a (key)? sub-graph to an
attribute type that does not support (key)? sub-graphs.
|
class |
InvalidGraphException
Thrown by
GraphParser to indicate textual entity graph representation parsing errors. |
Modifier and Type | Class and Description |
---|---|
class |
IdentifierGenerationException
Thrown by IdentifierGenerator implementation class when
ID generation fails.
|
Modifier and Type | Method and Description |
---|---|
Object |
GUIDGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Object |
Assigned.generate(SharedSessionContractImplementor session,
Object obj) |
Object |
UUIDGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Object |
IncrementGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Object |
CompositeNestedGeneratedValueGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Object |
IdentifierGenerator.generate(SharedSessionContractImplementor session,
Object object)
Generate a new identifier.
|
static Object |
IdentifierGeneratorHelper.getGeneratedIdentity(ResultSet rs,
String identifier,
Type type,
Dialect dialect)
Get the generated identifier when using identity columns
|
InsertGeneratedIdentifierDelegate |
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.
|
String[] |
SequenceGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
|
String[] |
MultipleHiLoPerTableGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
|
String[] |
PersistentIdentifierGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
Utilize the ExportableProducer contract instead
|
String[] |
SequenceGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
|
String[] |
MultipleHiLoPerTableGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
|
String[] |
PersistentIdentifierGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
Utilize the ExportableProducer contract instead
|
Modifier and Type | Method and Description |
---|---|
Object |
SequenceStyleGenerator.generate(SharedSessionContractImplementor session,
Object object) |
String[] |
TableGenerator.sqlCreateStrings(Dialect dialect) |
String[] |
SequenceStructure.sqlCreateStrings(Dialect dialect) |
String[] |
TableStructure.sqlCreateStrings(Dialect dialect) |
String[] |
SequenceStyleGenerator.sqlCreateStrings(Dialect dialect) |
String[] |
TableGenerator.sqlDropStrings(Dialect dialect) |
String[] |
SequenceStructure.sqlDropStrings(Dialect dialect) |
String[] |
TableStructure.sqlDropStrings(Dialect dialect) |
String[] |
SequenceStyleGenerator.sqlDropStrings(Dialect dialect) |
Modifier and Type | Class and Description |
---|---|
class |
BatchedTooManyRowsAffectedException
Much like
TooManyRowsAffectedException , indicates that more
rows than what we were expecting were affected. |
class |
BatchFailedException
Indicates a failed batch entry (-3 return).
|
class |
TooManyRowsAffectedException
Indicates that more rows were affected then we were expecting to be.
|
Modifier and Type | Method and Description |
---|---|
int |
Expectations.BasicExpectation.prepare(PreparedStatement statement) |
int |
Expectations.BasicParamExpectation.prepare(PreparedStatement statement) |
int |
Expectation.prepare(PreparedStatement statement)
Perform any special statement preparation.
|
void |
Expectation.verifyOutcome(int rowCount,
PreparedStatement statement,
int batchPosition,
String statementSQL)
Perform verification of the outcome of the RDBMS operation based on
the type of expectation defined.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleBagFetchException
Exception used to indicate that a query is attempting to simultaneously fetch multiple
bags |
class |
NonUniqueDiscoveredSqlAliasException |
Modifier and Type | Method and Description |
---|---|
CacheEntityLoaderHelper.PersistenceContextEntry |
CacheEntityLoaderHelper.loadFromSessionCache(LoadEvent event,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Attempts to locate the entity in the session-level cache.
|
Modifier and Type | Method and Description |
---|---|
String |
Column.getSqlType(Dialect dialect,
Mapping mapping) |
Iterator<String> |
Table.sqlAlterStrings(Dialect dialect,
Metadata metadata,
TableInformation tableInfo,
Identifier defaultCatalog,
Identifier defaultSchema) |
String |
Index.sqlCreateString(Dialect dialect,
Mapping mapping,
String defaultCatalog,
String defaultSchema) |
String |
RelationalModel.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
ClassMetadata.getIdentifier(Object object)
Deprecated.
|
Type |
ClassMetadata.getPropertyType(String propertyName)
Deprecated.
Get the type of a particular (named) property
|
Object |
ClassMetadata.getPropertyValue(Object object,
String propertyName)
Deprecated.
Get the value of a particular (named) property
|
Object[] |
ClassMetadata.getPropertyValues(Object entity)
Deprecated.
Extract the property values from the given entity.
|
default Object[] |
ClassMetadata.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session)
Deprecated.
(since 5.3) Use the form accepting SharedSessionContractImplementor
instead
|
Object[] |
ClassMetadata.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session)
Deprecated.
Return the values of the mapped properties of the object
|
Object |
ClassMetadata.getVersion(Object object)
Deprecated.
Get the version number (or timestamp) from the object's version property
(or return null if not versioned)
|
void |
ClassMetadata.setPropertyValue(Object object,
String propertyName,
Object value)
Deprecated.
Set the value of a particular (named) property
|
void |
ClassMetadata.setPropertyValues(Object object,
Object[] values)
Deprecated.
Set the given values to the mapped properties of the given object
|
Modifier and Type | Class and Description |
---|---|
class |
OrderByComplianceViolation |
class |
PathResolutionException
Indicates a problem resolving a domain-path occurring in an order-by fragment
|
Modifier and Type | Method and Description |
---|---|
default boolean |
BasicDomainType.areEqual(J x,
J y) |
Modifier and Type | Class and Description |
---|---|
class |
IllegalIdentifierException
Indicates an attempted use of a name that was deemed illegal
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCollectionPersister.deleteRows(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
protected void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Object key,
int nextIndex,
SharedSessionContractImplementor session)
|
protected void |
OneToManyPersister.doProcessQueuedOps(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
protected abstract void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Object key,
SharedSessionContractImplementor session) |
protected int |
BasicCollectionPersister.doUpdateRows(Object id,
PersistentCollection collection,
SharedSessionContractImplementor session) |
void |
AbstractCollectionPersister.initialize(Object key,
SharedSessionContractImplementor session) |
void |
CollectionPersister.initialize(Object key,
SharedSessionContractImplementor session)
Initialize the given collection with the given key
|
void |
OneToManyPersister.insertRows(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
void |
AbstractCollectionPersister.insertRows(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
Object |
AbstractCollectionPersister.readElement(ResultSet rs,
Object owner,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
AbstractCollectionPersister.readIdentifier(ResultSet rs,
String alias,
SharedSessionContractImplementor session) |
Object |
AbstractCollectionPersister.readIndex(ResultSet rs,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
AbstractCollectionPersister.readKey(ResultSet rs,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readKey(ResultSet rs,
String[] keyAliases,
SharedSessionContractImplementor session)
Read the key from a row of the JDBC ResultSet
|
void |
OneToManyPersister.recreate(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
void |
AbstractCollectionPersister.recreate(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
void |
AbstractCollectionPersister.remove(Object id,
SharedSessionContractImplementor session) |
void |
AbstractCollectionPersister.updateRows(PersistentCollection collection,
Object id,
SharedSessionContractImplementor session) |
protected int |
AbstractCollectionPersister.writeElement(PreparedStatement st,
Object elt,
int i,
SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeElementToWhere(PreparedStatement st,
Object elt,
int i,
SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatement
|
int |
AbstractCollectionPersister.writeIdentifier(PreparedStatement st,
Object id,
int i,
SharedSessionContractImplementor session)
Write the identifier to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndex(PreparedStatement st,
Object index,
int i,
SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndexToWhere(PreparedStatement st,
Object index,
int i,
SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeKey(PreparedStatement st,
Object key,
int i,
SharedSessionContractImplementor session)
Write the key to a JDBC PreparedStatement
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractEntityPersister.check(int rows,
Object id,
int tableNumber,
Expectation expectation,
PreparedStatement statement,
String statementSQL) |
Object |
AbstractEntityPersister.createProxy(Object id,
SharedSessionContractImplementor session) |
Object |
DiscriminatorType.deepCopy(Object value,
SessionFactoryImplementor factory) |
int |
AbstractEntityPersister.dehydrate(Object id,
Object[] fields,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement st,
SharedSessionContractImplementor session,
boolean isUpdate) |
int |
AbstractEntityPersister.dehydrate(Object id,
Object[] fields,
Object rowId,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement ps,
SharedSessionContractImplementor session,
int index,
boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statement
|
void |
AbstractEntityPersister.delete(Object id,
Object version,
int j,
Object object,
String sql,
SharedSessionContractImplementor session,
Object[] loadedState)
Perform an SQL DELETE
|
void |
AbstractEntityPersister.delete(Object id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete an object
|
int[] |
AbstractEntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object entity,
SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
int[] |
AbstractEntityPersister.findModified(Object[] old,
Object[] current,
Object entity,
SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
Object |
EntityPersister.forceVersionIncrement(Object id,
Object currentVersion,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getCurrentVersion(Object id,
SharedSessionContractImplementor session)
Get the current version of the object, or return null if there is no row for
the given identifier.
|
Object |
AbstractEntityPersister.getCurrentVersion(Object id,
SharedSessionContractImplementor session)
Retrieve the version number
|
Object[] |
EntityPersister.getDatabaseSnapshot(Object id,
SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without
resolving identifiers
|
Object[] |
AbstractEntityPersister.getDatabaseSnapshot(Object id,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getIdentifier(Object object)
Deprecated.
|
IdentifierGenerator |
AbstractEntityPersister.getIdentifierGenerator() |
Object |
EntityPersister.getPropertyValue(Object object,
int i)
Get the value of a particular property
|
Object[] |
AbstractEntityPersister.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getVersion(Object object)
Get the version number (or timestamp) from the object's version property (or return null if not versioned)
|
Object[] |
AbstractEntityPersister.hydrate(ResultSet rs,
Object id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean forceEager,
boolean[] propertiesForceEager,
SharedSessionContractImplementor session)
Unmarshal the fields of a persistent instance from a result set,
without resolving associations or collections.
|
Object[] |
Loadable.hydrate(ResultSet rs,
Object id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean forceEager,
boolean[] propertiesForceEager,
SharedSessionContractImplementor session)
Retrieve property values from one row of a result set
|
default Object[] |
Loadable.hydrate(ResultSet rs,
Object id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean forceEager,
SharedSessionContractImplementor session)
Retrieve property values from one row of a result set
|
Object |
AbstractEntityPersister.insert(Object[] fields,
boolean[] notNull,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.
|
Object |
AbstractEntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session) |
void |
AbstractEntityPersister.insert(Object id,
Object[] fields,
boolean[] notNull,
int j,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT.
|
boolean |
DiscriminatorType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
Boolean |
AbstractEntityPersister.isTransient(Object entity,
SharedSessionContractImplementor session) |
default Object |
EntityPersister.load(Object id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
AbstractEntityPersister.load(Object id,
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 parameter
|
default Object |
EntityPersister.load(Object id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
AbstractEntityPersister.load(Object id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
Boolean readOnly,
SharedSessionContractImplementor session) |
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
SharedSessionContractImplementor session) |
void |
AbstractEntityPersister.lock(Object id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session) |
void |
AbstractEntityPersister.lock(Object id,
Object version,
Object object,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
Object |
DiscriminatorType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
String |
DiscriminatorType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
void |
AbstractEntityPersister.update(Object id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update an object
|
boolean |
AbstractEntityPersister.update(Object id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session) |
void |
AbstractEntityPersister.updateOrInsert(Object id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session)
Perform an SQL UPDATE or SQL INSERT
|
Constructor and Description |
---|
AbstractEntityPersister(PersistentClass bootDescriptor,
EntityDataAccess cacheAccessStrategy,
NaturalIdDataAccess naturalIdRegionAccessStrategy,
PersisterCreationContext pcc) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
UnknownPersisterException
Indicates that the persister to use is not known and could not be determined.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
WalkingException
Indicates a problem walking the domain tree.
|
Modifier and Type | Class and Description |
---|---|
class |
NamedParametersNotSupportedException
Thrown to indicate that an attempt was made to register a stored procedure named parameter, but the underlying
database reports to not support named parameters.
|
class |
NoSuchParameterException |
class |
ParameterMisuseException
Thrown to indicate a misuse of a parameter
|
class |
ParameterStrategyException |
Modifier and Type | Class and Description |
---|---|
class |
PropertyAccessBuildingException
Indicates a problem while building a PropertyAccess
|
class |
PropertyAccessSerializationException |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractLazyInitializer.getImplementation(SharedSessionContractImplementor s) |
Object |
LazyInitializer.getImplementation(SharedSessionContractImplementor session)
Return the underlying persistent object in the given session, or null if not contained in this session's
persistence context.
|
HibernateProxy |
ProxyFactory.getProxy(Object id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
void |
AbstractLazyInitializer.initialize() |
void |
LazyInitializer.initialize()
Initialize the proxy, fetching the target entity if necessary.
|
void |
ProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType)
Called immediately after instantiation of this factory.
|
void |
AbstractLazyInitializer.setSession(SharedSessionContractImplementor s) |
void |
LazyInitializer.setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session.
|
Modifier and Type | Method and Description |
---|---|
void |
MapProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType) |
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
ByteBuddyProxyFactory.getProxy(Object id,
SharedSessionContractImplementor session) |
void |
ByteBuddyProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType) |
Modifier and Type | Class and Description |
---|---|
class |
IllegalQueryOperationException
Indicates an attempt to perform some operation on a Query that is illegal
based on its state, e.g., attempt to call
Query.executeUpdate() on a
SELECT query. |
class |
NotIndexedCollectionException
Indicates an attempt to use a non-indexed collection as indexed.
|
class |
PathException
Indicates an attempt to use a path in an unsupported way
|
class |
QueryTypeMismatchException
Indicates a problem with requested typed-Query result-type (e.g., JPA's
TypedQuery ) |
class |
SemanticException
Represents an error in the semantics (meaning) of the passed query.
|
class |
UnknownParameterException
Generally indicates an attempt to bind a parameter value for an unknown parameter.
|
class |
UnknownSqlResultSetMappingException |
Modifier and Type | Method and Description |
---|---|
void |
QueryLogging.namedQueryError(String queryName,
HibernateException e) |
Modifier and Type | Class and Description |
---|---|
class |
HqlInterpretationException
Base of exception hierarchy for exceptions stemming from
producing SQM AST trees
|
Modifier and Type | Method and Description |
---|---|
void |
HqlLogging.namedQueryError(String queryName,
HibernateException e) |
Modifier and Type | Method and Description |
---|---|
Map<String,HibernateException> |
NamedObjectRepository.checkNamedQueries(QueryEngine queryPlanCache)
Perform a validity check on all named queries
|
Modifier and Type | Class and Description |
---|---|
class |
MissingSqlSelectionException
Indicates that a column defined as part of a SQL ResultSet mapping was not part
of the query's ResultSet
|
class |
PositionalSelectionsNotAllowedException |
Modifier and Type | Method and Description |
---|---|
int |
AbstractQuery.executeUpdate() |
Modifier and Type | Class and Description |
---|---|
class |
AliasCollisionException |
class |
IllegalPathUsageException
Indicates an attempt to use an SqmPath in an unsupported manner - e.g., an
attempt to de-reference a basic value
|
class |
InterpretationException
Represents a general uncaught problem performing the interpretation.
|
class |
LiteralNumberFormatException |
class |
ParsingException
The root exception for errors (potential bugs) in the sqm parser code itself, as opposed
to
SemanticException which indicates problems with the sqm. |
class |
StrictJpaComplianceViolation
Indicates violations of strict JPQL syntax while strict JPQL syntax checking was enabled.
|
class |
UnknownEntityException
Indicates we were not able to resolve a given "path structure" as an entity name.
|
class |
UnknownPathException
todo (6.0) : account for this in the "exception conversion" handling
|
Modifier and Type | Class and Description |
---|---|
class |
ConversionException
Indicates a problem converting an SQM tree to a SQL AST
|
Modifier and Type | Class and Description |
---|---|
static class |
SqmAttributeJoin.NotJoinableException |
Modifier and Type | Class and 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 to
TransactionCoordinator.explicitJoin() that requires an
active transaction where there currently is none. |
Modifier and Type | Class and Description |
---|---|
class |
NoMoreReturnsException |
Modifier and Type | Class and Description |
---|---|
class |
IntegrationException |
Modifier and Type | Class and Description |
---|---|
class |
NullServiceException |
class |
UnknownServiceException
Indicates that an unknown service was requested from the registry.
|
class |
UnknownUnwrapTypeException |
Modifier and Type | Class and Description |
---|---|
class |
ServiceException
Indicates a problem with a service.
|
Modifier and Type | Class and Description |
---|---|
class |
SqlTreeCreationException
Base exception type for problems building a SQL tree.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionException
Indicates an exception performing execution
|
Modifier and Type | Class and Description |
---|---|
class |
DomainResultCreationException
Base for problems creating
DomainResult
instances |
class |
NoMoreOutputsException |
Modifier and Type | Class and Description |
---|---|
class |
ImportScriptException
Deprecated.
Everything in this package has been replaced with
SchemaManagementTool and friends. |
Modifier and Type | Class and Description |
---|---|
class |
SchemaExtractionException |
Modifier and Type | Class and Description |
---|---|
class |
CommandAcceptanceException
Indicates a problem accepting/executing a schema management command.
|
class |
SchemaManagementException
Indicates a problem in performing schema management.
|
class |
SqlScriptException
Indicates a problem
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractComponentTuplizer.getPropertyValue(Object component,
int i) |
Object[] |
PojoComponentTuplizer.getPropertyValues(Object component) |
Object[] |
AbstractComponentTuplizer.getPropertyValues(Object component) |
Object |
AbstractComponentTuplizer.instantiate()
This method does not populate the component parent
|
void |
PojoComponentTuplizer.setPropertyValues(Object component,
Object[] values) |
void |
AbstractComponentTuplizer.setPropertyValues(Object component,
Object[] values) |
Modifier and Type | Class and Description |
---|---|
static class |
EntityMetamodel.ValueGenerationStrategyException |
Modifier and Type | Method and Description |
---|---|
Object |
EntityTuplizer.createProxy(Object id,
SharedSessionContractImplementor session)
Deprecated.
Generates an appropriate proxy representation of this entity for this
entity-mode.
|
Object |
EntityTuplizer.getIdentifier(Object entity)
Deprecated.
|
Object |
AbstractEntityTuplizer.getIdentifier(Object entity) |
Object |
AbstractEntityTuplizer.getPropertyValue(Object entity,
int i) |
Object |
EntityTuplizer.getPropertyValue(Object entity,
String propertyName)
Deprecated.
Extract the value of a particular property from the given entity.
|
Object |
AbstractEntityTuplizer.getPropertyValue(Object entity,
String propertyPath) |
Object[] |
PojoEntityTuplizer.getPropertyValues(Object entity) |
Object[] |
EntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session)
Deprecated.
Extract the values of the insertable properties of the entity (including backrefs)
|
Object |
EntityTuplizer.getVersion(Object entity)
Deprecated.
Extract the value of the version property from the given entity.
|
Object |
AbstractEntityTuplizer.getVersion(Object entity) |
Object |
AbstractEntityTuplizer.instantiate() |
Object |
EntityTuplizer.instantiate(Object id)
Deprecated.
|
Object |
AbstractEntityTuplizer.instantiate(Object id) |
void |
EntityTuplizer.setIdentifier(Object entity,
Object id)
Deprecated.
|
void |
AbstractEntityTuplizer.setIdentifier(Object entity,
Object id) |
void |
EntityTuplizer.setPropertyValue(Object entity,
int i,
Object value)
Deprecated.
Inject the value of a particular property.
|
void |
AbstractEntityTuplizer.setPropertyValue(Object entity,
int i,
Object value) |
void |
EntityTuplizer.setPropertyValue(Object entity,
String propertyName,
Object value)
Deprecated.
Inject the value of a particular property.
|
void |
AbstractEntityTuplizer.setPropertyValue(Object entity,
String propertyName,
Object value) |
void |
PojoEntityTuplizer.setPropertyValues(Object entity,
Object[] values) |
void |
AbstractEntityTuplizer.setPropertyValues(Object entity,
Object[] values) |
Modifier and Type | Class and Description |
---|---|
class |
SerializationException
Thrown when a property cannot be serialized/deserialized
|
Modifier and Type | Method and Description |
---|---|
Object |
EnumType.assemble(Serializable cached,
Object owner) |
Object |
AnyType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner)
Reconstruct the object from its disassembled state.
|
Object |
CollectionType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.assemble(Serializable object,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
SpecialOneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
EnumType.deepCopy(Object value) |
Object |
Type.deepCopy(Object value,
SessionFactoryImplementor factory)
Return a deep copy of the persistent state, stopping at entities and at collections.
|
Object |
CollectionType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Object |
CustomType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Object |
ComponentType.deepCopy(Object component,
SessionFactoryImplementor factory) |
Object |
MetaType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Serializable |
EnumType.disassemble(Object value) |
Serializable |
AnyType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
Type.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner)
Return a disassembled representation of the object.
|
Serializable |
CollectionType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractStandardBasicType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
OneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ComponentType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ManyToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
SpecialOneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
boolean |
EnumType.equals(Object x,
Object y) |
Date |
TimestampType.fromStringValue(String xml) |
T |
SingleColumnType.fromStringValue(String xml) |
T |
AbstractStandardBasicType.fromStringValue(String xml) |
Object |
CustomType.fromStringValue(String string) |
T |
StringRepresentableType.fromStringValue(String string)
Consume the given string representation back into this types java form.
|
Object |
MetaType.fromXMLString(String xml,
Mapping factory) |
Object |
SingleColumnType.get(ResultSet rs,
String name,
SharedSessionContractImplementor session)
Get a column value from a result set, without worrying about the possibility of null values.
|
Object |
AbstractStandardBasicType.get(ResultSet rs,
String name,
SharedSessionContractImplementor session) |
int |
Type.getHashCode(Object x)
Get a hash code, consistent with persistence "equality".
|
int |
Type.getHashCode(Object x,
SessionFactoryImplementor factory)
Get a hash code, consistent with persistence "equality".
|
protected Object |
EntityType.getIdentifier(Object value,
SharedSessionContractImplementor session) |
Object |
ComponentType.getPropertyValue(Object component,
int i) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
EntityMode entityMode) |
Object |
AnyType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
CompositeType.getPropertyValue(Object component,
int index,
SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.
|
Object[] |
ComponentType.getPropertyValues(Object component,
EntityMode entityMode) |
Object[] |
CompositeType.getPropertyValues(Object component,
EntityMode entityMode)
Extract the values of the component properties from the given component instance without access to the
session.
|
Object[] |
AnyType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
ComponentType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
CompositeType.getPropertyValues(Object component,
SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instance
|
int |
EnumType.hashCode(Object x) |
Object |
AnyType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value from the JDBC result set.
|
Object |
AbstractStandardBasicType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
SpecialOneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.instantiate(EntityMode entityMode)
This method does not populate the component parent
|
Object |
EmbeddedComponentType.instantiate(Object parent,
SharedSessionContractImplementor session) |
Object |
ComponentType.instantiate(Object parent,
SharedSessionContractImplementor session) |
PersistentCollection |
IdentifierBagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Object key) |
PersistentCollection |
ArrayType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Object key) |
PersistentCollection |
CustomCollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Object key) |
PersistentCollection |
BagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Object key) |
boolean |
AnyType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
Type.isDirty(Object oldState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
CollectionType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
MetaType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
Type.isDirty(Object old,
Object current,
SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
CollectionType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
Type.isEqual(Object x,
Object y)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
boolean |
CustomType.isEqual(Object x,
Object y) |
boolean |
ComponentType.isEqual(Object x,
Object y) |
boolean |
Type.isEqual(Object x,
Object y,
SessionFactoryImplementor factory)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
boolean |
ComponentType.isEqual(Object x,
Object y,
SessionFactoryImplementor factory) |
boolean |
AnyType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
Type.isModified(Object dbState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session)
Has the value been modified compared to the current database state? The difference between this
and the
Type.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 |
CollectionType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isSame(Object x,
Object y) |
boolean |
AbstractType.isSame(Object x,
Object y) |
boolean |
Type.isSame(Object x,
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.
|
boolean |
ComponentType.isSame(Object x,
Object y) |
Object |
EntityType.loadByUniqueKey(String entityName,
String uniqueKeyPropertyName,
Object key,
SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.
|
Object |
AnyType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
T |
SingleColumnType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session)
Get a column value from a result set by name.
|
Object |
Type.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
EntityType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement, ignoring some columns as dictated by the 'settable' parameter. |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AbstractSingleColumnStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
EnumType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement. |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
SharedSessionContractImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
protected String |
CollectionType.renderLoggableString(Object value,
SessionFactoryImplementor factory) |
protected String |
CustomCollectionType.renderLoggableString(Object value,
SessionFactoryImplementor factory) |
Object |
EnumType.replace(Object original,
Object target,
Object owner) |
Object |
AnyType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
Type.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
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.
|
Object |
CollectionType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
CustomType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
EntityType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
ComponentType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
AbstractType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
Type.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
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.
|
Object |
ComponentType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
ArrayType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
CustomCollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
MapType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
AnyType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner)
Resolve an identifier or unique key value
|
Object |
ComponentType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
default Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager)
The second phase of 2-phase loading.
|
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
ManyToOneType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
protected Object |
EntityType.resolveIdentifier(Object id,
SharedSessionContractImplementor session) |
protected Object |
EntityType.resolveIdentifier(Object id,
SharedSessionContractImplementor session,
Boolean overridingEager)
Resolve an identifier via a load.
|
Object |
AbstractType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner)
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref
associations.
|
Object |
CollectionType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
void |
SingleColumnType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session)
Set a parameter value without worrying about the possibility of null
values.
|
void |
AbstractStandardBasicType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session) |
void |
ComponentType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
void |
CompositeType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode)
Inject property values onto the given component instance
An optional operation
|
String |
AnyType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
ArrayType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
Type.toLoggableString(Object value,
SessionFactoryImplementor factory)
Generate a representation of the value for logging purposes.
|
String |
CollectionType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
ComponentType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
MetaType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
CustomType.toString(Object value) |
String |
SingleColumnType.toString(T value) |
String |
StringRepresentableType.toString(T value)
Render the value to the string representation.
|
String |
MetaType.toXMLString(Object value,
SessionFactoryImplementor factory) |
Modifier and Type | Class and Description |
---|---|
class |
CoercionException |
Modifier and Type | Method and Description |
---|---|
protected HibernateException |
AbstractClassTypeDescriptor.unknownUnwrap(Class conversionType) |
protected HibernateException |
AbstractTypeDescriptor.unknownUnwrap(Class conversionType) |
protected static <T extends JavaTypeDescriptor<?>> |
JavaTypeDescriptorHelper.unknownUnwrap(Class<?> sourceType,
Class<?> targetType,
T jtd) |
protected HibernateException |
AbstractClassTypeDescriptor.unknownWrap(Class conversionType) |
protected HibernateException |
AbstractTypeDescriptor.unknownWrap(Class conversionType) |
protected static <T extends JavaTypeDescriptor<?>> |
JavaTypeDescriptorHelper.unknownWrap(Class<?> valueType,
Class<?> sourceType,
T jtd) |
Modifier and Type | Class and Description |
---|---|
class |
JdbcTypeRecommendationException
Exception indicating
JavaTypeDescriptor.getRecommendedJdbcType(org.hibernate.type.descriptor.jdbc.JdbcTypeDescriptorIndicators) could not
determine a recommended JDBC type descriptor |
Modifier and Type | Method and Description |
---|---|
Object |
UserType.assemble(Serializable cached,
Object owner)
Reconstruct an object from the cacheable representation.
|
Object |
UserType.deepCopy(Object value)
Return a deep copy of the persistent state, stopping at entities and at
collections.
|
Serializable |
UserType.disassemble(Object value)
Transform the object into its cacheable representation.
|
boolean |
UserType.equals(Object x,
Object y)
Compare two instances of the class mapped by this type for persistence "equality".
|
int |
UserType.hashCode(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 wrapper
|
Object |
UserType.replace(Object original,
Object target,
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.
|
Object |
UserCollectionType.replaceElements(Object original,
Object target,
CollectionPersister persister,
Object owner,
Map copyCache,
SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collection
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.