Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.action.spi |
Defines SPI hooks into the
ActionQueue . |
org.hibernate.boot.archive.spi |
Defines the SPI for support of "scanning" of "archives".
|
org.hibernate.boot.jaxb.internal.stax |
Contains basic support for Java XML Processing (JAXP) via Streaming API for XML (StAX)
|
org.hibernate.boot.model.naming |
Represents a proposed new approach to allowing hooks into the process of determining
the name of database objects (tables, columns, constraints, etc).
|
org.hibernate.boot.model.source.internal.hbm | |
org.hibernate.boot.registry.classloading.spi |
The class loading service SPI.
|
org.hibernate.boot.registry.selector.spi |
Defines actual contract used for strategy selection :
StrategySelector . |
org.hibernate.boot.spi | |
org.hibernate.bytecode.enhance.spi |
package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.bytecode.internal.bytebuddy |
Byte Buddy support internals
|
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.internal |
Internal implementations and support for second-level caching.
|
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.internal |
Internal implementations and support for persistent collections
|
org.hibernate.collection.spi |
SPI definitions for persistent collections
|
org.hibernate.context |
Defines support for "current session" feature.
|
org.hibernate.context.internal |
Internal implementations and support around "current session" handling.
|
org.hibernate.context.spi |
SPI level contracts around "current session" support.
|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
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.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.jdbc.dialect.internal |
Internal support for Dialect resolution (from JDBC metadata) and Dialect building.
|
org.hibernate.engine.jdbc.dialect.spi |
Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.
|
org.hibernate.engine.jndi |
Support for JNDI within Hibernate
|
org.hibernate.engine.query | |
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.engine.transaction.internal | |
org.hibernate.engine.transaction.jta.platform.spi | |
org.hibernate.engine.transaction.spi | |
org.hibernate.envers | |
org.hibernate.envers.configuration.internal.metadata | |
org.hibernate.envers.enhanced | |
org.hibernate.envers.exception | |
org.hibernate.envers.internal.entities | |
org.hibernate.envers.internal.entities.mapper.relation.lazy | |
org.hibernate.envers.internal.reader | |
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
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.hql.internal | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.exec | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
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.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.internal.util |
Internal utility classes.
|
org.hibernate.internal.util.beans | |
org.hibernate.internal.util.config | |
org.hibernate.internal.util.xml | |
org.hibernate.jdbc | |
org.hibernate.jpa.internal.util | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.collection.plan | |
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.custom.sql | |
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.loader.entity.plan | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.loader.plan.exec.internal |
Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.
|
org.hibernate.loader.plan.spi |
Defines the SPI for the building blocks that make up a LoadPlan.
|
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.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.internal | |
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.proxy.pojo.javassist | |
org.hibernate.query.internal | |
org.hibernate.query.spi | |
org.hibernate.resource.beans.container.internal | |
org.hibernate.resource.transaction |
Defines the resource-level transaction capabilities of Hibernate, which revolves around the
TransactionCoordinator contract. |
org.hibernate.resource.transaction.backend.jdbc.internal | |
org.hibernate.resource.transaction.backend.jta.internal | |
org.hibernate.result | |
org.hibernate.secure.spi | |
org.hibernate.service | |
org.hibernate.service.internal | |
org.hibernate.service.spi | |
org.hibernate.sql.ordering.antlr | |
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.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 |
MappingNotFoundException
Deprecated.
Use
MappingNotFoundException 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.
Use
OptimisticEntityLockException instead |
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 |
SharedSessionContract.close()
End the session by releasing the JDBC connection and cleaning up.
|
void |
SessionFactory.close()
Destroy this SessionFactory and release all resources (caches,
connection pools, etc).
|
static void |
Hibernate.close(Iterator iterator)
Close an
Iterator instances obtained from Query.iterate() immediately
instead of waiting until the session is closed or disconnected. |
Criteria |
Criteria.createAlias(String associationPath,
String alias)
Join an association, assigning an alias to the joined association.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
int joinType)
Deprecated.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause)
Deprecated.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
Criteria.createCriteria(String associationPath)
Create a new Criteria, "rooted" at the associated entity.
|
Criteria |
Criteria.createCriteria(String associationPath,
int joinType)
Deprecated.
|
Criteria |
Criteria.createCriteria(String associationPath,
JoinType joinType)
Create a new Criteria, "rooted" at the associated entity, using the
specified join type.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
int joinType)
Deprecated.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause)
|
Criteria |
Criteria.createCriteria(String associationPath,
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(String associationPath,
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.
|
<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(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?
|
List |
Criteria.list()
Get the results.
|
Session |
SessionFactory.openSession()
Open a
Session . |
void |
Transaction.registerSynchronization(Synchronization synchronization)
Register a user synchronization callback for this transaction.
|
ScrollableResults |
Criteria.scroll()
Get the results as an instance of
ScrollableResults . |
ScrollableResults |
Criteria.scroll(ScrollMode scrollMode)
Get the results as an instance of
ScrollableResults based on the
given scroll mode. |
Criteria |
Criteria.setFetchMode(String associationPath,
FetchMode mode)
Specify an association fetching strategy for an association or a
collection of values.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityActionVetoException
An exception indicating that an
EntityAction was vetoed. |
Modifier and Type | Method and Description |
---|---|
void |
BulkOperationCleanupAction.beforeExecutions() |
void |
EntityInsertAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
void |
EntityDeleteAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
void |
QueuedOperationCollectionAction.execute() |
void |
EntityUpdateAction.execute() |
void |
EntityInsertAction.execute() |
void |
EntityIdentityInsertAction.execute() |
void |
EntityDeleteAction.execute() |
void |
CollectionUpdateAction.execute() |
void |
CollectionRemoveAction.execute() |
void |
CollectionRecreateAction.execute() |
void |
BulkOperationCleanupAction.execute() |
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 |
ArchiveException
Indicates a problem accessing or visiting the archive
|
Modifier and Type | Class and Description |
---|---|
class |
XmlInfrastructureException
An error using XML infrastructure (jaxp, stax, etc).
|
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 |
---|---|
List<EntityHierarchySourceImpl> |
EntityHierarchyBuilder.buildHierarchies()
To be called after all mapping documents have been processed (via
EntityHierarchyBuilder.indexMappingDocument(org.hibernate.boot.model.source.internal.hbm.MappingDocument) ) |
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 |
BulkAccessorException |
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 to available, but
none was found on the classpath.
|
Modifier and Type | Method and Description |
---|---|
QueryResultsCache |
EnabledCaching.getQueryResultsCache(String regionName) |
boolean |
QueryResultsCacheImpl.put(QueryKey key,
List results,
Type[] returnTypes,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
default void |
CacheImplementor.evictQueries()
Clean up the default query cache
|
List |
QueryResultsCache.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
List |
QueryResultsCache.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
default QueryCache |
CacheImplementor.getQueryCache(String regionName)
Deprecated.
Use
CacheImplementor.getQueryResultsCache(String) instead, but using unqualified name |
boolean |
QueryResultsCache.put(QueryKey key,
List result,
Type[] returnTypes,
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,
Serializable 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 |
---|---|
void |
PersistentIdentifierBag.afterRowInsert(CollectionPersister persister,
Object entry,
int i) |
void |
AbstractPersistentCollection.afterRowInsert(CollectionPersister persister,
Object entry,
int i) |
Serializable |
PersistentSet.disassemble(CollectionPersister persister) |
Serializable |
PersistentMap.disassemble(CollectionPersister persister) |
Serializable |
PersistentList.disassemble(CollectionPersister persister) |
Serializable |
PersistentIdentifierBag.disassemble(CollectionPersister persister) |
Serializable |
PersistentBag.disassemble(CollectionPersister persister) |
Serializable |
PersistentArrayHolder.disassemble(CollectionPersister persister) |
boolean |
PersistentSet.equalsSnapshot(CollectionPersister persister) |
boolean |
PersistentMap.equalsSnapshot(CollectionPersister persister) |
boolean |
PersistentList.equalsSnapshot(CollectionPersister persister) |
boolean |
PersistentIdentifierBag.equalsSnapshot(CollectionPersister persister) |
boolean |
PersistentBag.equalsSnapshot(CollectionPersister persister) |
boolean |
PersistentArrayHolder.equalsSnapshot(CollectionPersister persister) |
void |
AbstractPersistentCollection.forceInitialization() |
Iterator |
PersistentSet.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
Iterator |
PersistentMap.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
Iterator |
PersistentList.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
Iterator |
PersistentIdentifierBag.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
Iterator |
PersistentBag.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
Iterator |
PersistentArrayHolder.getDeletes(CollectionPersister persister,
boolean indexIsFormula) |
protected static Collection |
AbstractPersistentCollection.getOrphans(Collection oldElements,
Collection currentElements,
String entityName,
SharedSessionContractImplementor session)
Given a collection of entity instances that used to
belong to the collection, and a collection of instances
that currently belong, return a collection of orphans
|
Collection |
PersistentSet.getOrphans(Serializable snapshot,
String entityName) |
Collection |
PersistentMap.getOrphans(Serializable snapshot,
String entityName) |
Collection |
PersistentList.getOrphans(Serializable snapshot,
String entityName) |
Collection |
PersistentIdentifierBag.getOrphans(Serializable snapshot,
String entityName) |
Collection |
PersistentBag.getOrphans(Serializable snapshot,
String entityName) |
Collection |
PersistentArrayHolder.getOrphans(Serializable snapshot,
String entityName) |
abstract Collection |
AbstractPersistentCollection.getOrphans(Serializable snapshot,
String entityName) |
Serializable |
PersistentSet.getSnapshot(CollectionPersister persister) |
Serializable |
PersistentMap.getSnapshot(CollectionPersister persister) |
Serializable |
PersistentList.getSnapshot(CollectionPersister persister) |
Serializable |
PersistentIdentifierBag.getSnapshot(CollectionPersister persister) |
Serializable |
PersistentBag.getSnapshot(CollectionPersister persister) |
Serializable |
PersistentArrayHolder.getSnapshot(CollectionPersister persister) |
void |
PersistentSet.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
void |
PersistentMap.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
void |
PersistentList.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
void |
PersistentIdentifierBag.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
void |
PersistentBag.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
void |
PersistentArrayHolder.initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner) |
boolean |
PersistentSet.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentMap.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentList.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentIdentifierBag.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentBag.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentArrayHolder.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentMap.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentList.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentIdentifierBag.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentArrayHolder.needsUpdating(Object entry,
int i,
Type elemType) |
void |
PersistentIdentifierBag.preInsert(CollectionPersister persister) |
void |
AbstractPersistentCollection.preInsert(CollectionPersister persister) |
Object |
PersistentSet.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
Object |
PersistentMap.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
Object |
PersistentList.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
Object |
PersistentIdentifierBag.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
Object |
PersistentBag.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
Object |
PersistentArrayHolder.readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner) |
boolean |
AbstractPersistentCollection.setCurrentSession(SharedSessionContractImplementor session) |
protected Serializable |
PersistentSortedSet.snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
protected Serializable |
PersistentSortedMap.snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
Modifier and Type | Method and Description |
---|---|
Object |
PersistentCollection.readFrom(ResultSet rs,
CollectionPersister role,
CollectionAliases descriptor,
Object owner)
Read a row from the JDBC result set
|
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 |
ThreadLocalSessionContext.currentSession() |
Session |
JTASessionContext.currentSession() |
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 |
---|---|
String[] |
CriteriaQuery.findColumns(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.
|
String |
CriteriaQuery.getColumn(Criteria criteria,
String propertyPath)
Resolve a property path to the name of the column it maps to.
|
String[] |
CriteriaQuery.getColumns(String propertyPath,
Criteria criteria)
Resolve a property path to the names of the columns it maps to.
|
String[] |
CriteriaQuery.getColumnsUsingProjection(Criteria criteria,
String propertyPath)
Get the names of the columns mapped by a property path.
|
protected QueryableCollection |
AbstractEmptinessExpression.getQueryableCollection(String entityName,
String propertyName,
SessionFactoryImplementor factory) |
Type |
CriteriaQuery.getType(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
TypedValue |
CriteriaQuery.getTypedValue(Criteria criteria,
String propertyPath,
Object value)
Build a typed-value for the property/value combo.
|
TypedValue[] |
SubqueryExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SizeExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SimpleSubqueryExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SimpleExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NullExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NotNullExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NotExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NaturalIdentifier.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
Junction.getTypedValues(Criteria crit,
CriteriaQuery criteriaQuery) |
TypedValue[] |
Criterion.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
TypedValue[] |
BetweenExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
AbstractEmptinessExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
RowCountProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
PropertyProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Types returned by the rendered SQL
fragment . |
Type[] |
AliasedProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AggregateProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.
|
Type[] |
AliasedProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type |
CriteriaQuery.getTypeUsingProjection(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
String |
PropertyProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
ProjectionList.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Projection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the GROUP BY clause
|
String |
SubqueryExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SizeExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SimpleExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
PropertyExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NullExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NotNullExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NotExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NaturalIdentifier.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Junction.toSqlString(Criteria crit,
CriteriaQuery criteriaQuery) |
String |
Criterion.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String |
BetweenExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
AbstractEmptinessExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
RowCountProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
PropertyProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
ProjectionList.toSqlString(Criteria criteria,
int loc,
CriteriaQuery criteriaQuery) |
String |
Projection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the SELECT clause.
|
String |
AliasedProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
AggregateProjection.toSqlString(Criteria criteria,
int loc,
CriteriaQuery criteriaQuery) |
Modifier and Type | Method and Description |
---|---|
static Dialect |
Dialect.getDialect()
Get an instance of the dialect specified by the current System properties.
|
static Dialect |
Dialect.getDialect(Properties props)
Get an instance of the dialect specified by the given properties or by
the current System properties.
|
String |
Dialect.getHibernateTypeName(int code)
|
String |
Dialect.getHibernateTypeName(int code,
int length,
int precision,
int scale)
|
String |
Dialect.getTypeName(int code)
Get the name of the database type associated with the given
Types typecode. |
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.
|
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.
|
String |
Dialect.getTypeName(int code,
long length,
int precision,
int scale)
Get the name of the database type associated with the given
Types typecode with the given storage specification
parameters. |
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 |
---|---|
CollectionEntry |
StatefulPersistenceContext.addInitializedCollection(CollectionPersister persister,
PersistentCollection collection,
Serializable id) |
void |
StatefulPersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister,
PersistentCollection collection) |
void |
StatefulPersistenceContext.addNewCollection(CollectionPersister persister,
PersistentCollection collection) |
static int |
ParameterBinder.bindQueryParameters(PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
static void |
Cascade.cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
Object parent)
Cascade an action from the parent entity instance to all its children.
|
static void |
Cascade.cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
Object parent,
Object anything)
Cascade an action from the parent entity instance to all its children.
|
void |
StatefulPersistenceContext.checkUniqueness(EntityKey key,
Object object) |
Object[] |
StatefulPersistenceContext.getDatabaseSnapshot(Serializable id,
EntityPersister persister)
Get the current state of the entity as known to the underlying
database, or null if there is no corresponding row
Get the current state of the entity as known to the underlying database, or null if there is no
corresponding row
|
Object[] |
StatefulPersistenceContext.getNaturalIdSnapshot(Serializable id,
EntityPersister persister) |
void |
StatefulPersistenceContext.initializeNonLazyCollections() |
Object |
StatefulPersistenceContext.narrowProxy(Object proxy,
EntityPersister persister,
EntityKey key,
Object object) |
Object |
StatefulPersistenceContext.proxyFor(EntityPersister persister,
EntityKey key,
Object impl) |
Object |
StatefulPersistenceContext.proxyFor(Object impl) |
Object |
StatefulPersistenceContext.unproxy(Object maybeProxy) |
Object |
StatefulPersistenceContext.unproxyAndReassociate(Object maybeProxy) |
Modifier and Type | Method and Description |
---|---|
Dialect |
DialectFactoryImpl.buildDialect(Map configValues,
DialectResolutionInfoSource resolutionInfoSource) |
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
ParamLocationRecognizer |
Modifier and Type | Method and Description |
---|---|
int |
NativeSQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
int |
HQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.
|
Iterator |
HQLQueryPlan.performIterate(QueryParameters queryParameters,
EventSource session)
Coordinates the efforts to perform an iterate across all the included query translators.
|
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.
|
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 sepcification 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 sepcification makes use
of exceptions outside its exception hierarchy, though they are all runtime exceptions.
|
Modifier and Type | Method and Description |
---|---|
CollectionEntry |
PersistenceContext.addInitializedCollection(CollectionPersister persister,
PersistentCollection collection,
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,
Object child,
String entityName,
Object anything,
boolean isCascadeDeleteEnabled)
Cascade the action to the child object.
|
void |
PersistenceContext.checkUniqueness(EntityKey key,
Object object)
Attempts to check whether the given key represents an entity already loaded within the
current session.
|
void |
SessionFactoryDelegatingImpl.close() |
void |
SessionDelegatorBaseImpl.close() |
<T> T |
SessionDelegatorBaseImpl.doReturningWork(ReturningWork<T> work) |
void |
SessionDelegatorBaseImpl.doWork(Work work) |
default void |
CacheImplementor.evictQueries()
Deprecated.
Clean up the default query cache
|
void |
ActionQueue.executeActions()
Perform all currently queued actions.
|
void |
ActionQueue.executeInserts()
Perform all currently queued entity-insertion actions.
|
int |
SharedSessionContractImplementor.executeNativeUpdate(NativeSQLQuerySpecification specification,
QueryParameters queryParameters)
Execute a native SQL update or delete query
|
int |
SessionDelegatorBaseImpl.executeNativeUpdate(NativeSQLQuerySpecification specification,
QueryParameters queryParameters) |
int |
SharedSessionContractImplementor.executeUpdate(String query,
QueryParameters queryParameters)
Execute a HQL update or delete query
|
int |
SessionDelegatorBaseImpl.executeUpdate(String query,
QueryParameters queryParameters) |
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)
|
default QueryCache |
CacheImplementor.getQueryCache(String regionName)
Deprecated.
Use
CacheImplementor.getQueryResultsCache(String) instead, but using unqualified name |
String[] |
SessionFactoryDelegatingImpl.getReturnAliases(String queryString) |
Type[] |
SessionFactoryDelegatingImpl.getReturnTypes(String queryString) |
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,
Serializable id)
Load an instance immediately.
|
Object |
SessionDelegatorBaseImpl.immediateLoad(String entityName,
Serializable 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,
Serializable id) |
Object |
SessionDelegatorBaseImpl.instantiate(EntityPersister persister,
Serializable id) |
Object |
SharedSessionContractImplementor.instantiate(String entityName,
Serializable id)
Instantiate the entity class, initializing with the given identifier
|
Object |
SessionDelegatorBaseImpl.instantiate(String entityName,
Serializable id) |
Object |
SharedSessionContractImplementor.internalLoad(String entityName,
Serializable id,
boolean eager,
boolean nullable)
Load an instance without checking if it was deleted.
|
Object |
SessionDelegatorBaseImpl.internalLoad(String entityName,
Serializable id,
boolean eager,
boolean nullable) |
boolean |
SessionDelegatorBaseImpl.isDirty() |
Iterator |
SharedSessionContractImplementor.iterate(String query,
QueryParameters queryParameters)
Execute an iterate() query
|
Iterator |
SessionDelegatorBaseImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
SharedSessionContractImplementor.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters)
Iterate a filter
|
Iterator |
SessionDelegatorBaseImpl.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters) |
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) |
List |
SharedSessionContractImplementor.list(String query,
QueryParameters queryParameters)
Execute a find() query
|
List |
SessionDelegatorBaseImpl.list(String query,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters)
Execute an SQL Query
|
List |
SessionDelegatorBaseImpl.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.listFilter(Object collection,
String filter,
QueryParameters queryParameters)
Execute a filter
|
List |
SessionDelegatorBaseImpl.listFilter(Object collection,
String filter,
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) |
Object |
PersistenceContext.narrowProxy(Object proxy,
EntityPersister persister,
EntityKey key,
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 |
SessionFactoryImplementor.openTemporarySession()
Get a non-transactional "current" session (used by hibernate-envers)
|
Session |
SessionFactoryDelegatingImpl.openTemporarySession() |
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.
|
Object |
PersistenceContext.proxyFor(EntityPersister persister,
EntityKey key,
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.
|
Object |
PersistenceContext.proxyFor(Object impl)
Return the existing proxy associated with the given EntityKey, or the
argument (the entity associated with the key) if no proxy exists.
|
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) |
ScrollableResultsImplementor |
SharedSessionContractImplementor.scroll(String query,
QueryParameters queryParameters)
Execute a scroll() query
|
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SharedSessionContractImplementor.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters)
Execute an SQL Query
|
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
void |
QueryParameters.traceParameters(SessionFactoryImplementor factory) |
Object |
PersistenceContext.unproxy(Object maybeProxy)
Get the entity instance underlying the given proxy, throwing
an exception if the proxy is uninitialized.
|
Object |
PersistenceContext.unproxyAndReassociate(Object maybeProxy)
Possibly unproxy the given reference and reassociate it with the current session.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionImpl.registerSynchronization(Synchronization synchronization) |
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 | Method and Description |
---|---|
String |
AuditReader.getEntityName(Object primaryKey,
Number revision,
Object entity)
Get the entity name of an instance of an entity returned by this AuditReader.
|
Modifier and Type | Class and Description |
---|---|
class |
FormulaNotSupportedException
Exception indicating that a formula mapping was encountered where it is not currently supported
|
Modifier and Type | Method and Description |
---|---|
String[] |
OrderedSequenceStructure.sqlCreateStrings(Dialect dialect) |
String[] |
OrderedSequenceStructure.sqlDropStrings(Dialect dialect) |
Modifier and Type | Class and Description |
---|---|
class |
AuditException |
class |
NotAuditedException |
class |
RevisionDoesNotExistException |
Modifier and Type | Method and Description |
---|---|
Object |
RevisionTypeType.assemble(Serializable cached,
Object owner) |
Object |
RevisionTypeType.deepCopy(Object value) |
Serializable |
RevisionTypeType.disassemble(Object value) |
boolean |
RevisionTypeType.equals(Object x,
Object y) |
int |
RevisionTypeType.hashCode(Object x) |
RevisionType |
RevisionTypeType.nullSafeGet(ResultSet resultSet,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
void |
RevisionTypeType.nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
SharedSessionContractImplementor session) |
Object |
RevisionTypeType.replace(Object original,
Object target,
Object owner) |
Modifier and Type | Method and Description |
---|---|
Object |
ToOneDelegateSessionImplementor.doImmediateLoad(String entityName) |
Object |
AbstractDelegateSessionImplementor.immediateLoad(String entityName,
Serializable id) |
Modifier and Type | Method and Description |
---|---|
String |
AuditReaderImpl.getEntityName(Object primaryKey,
Number revision,
Object entity) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeleteEventListener.cascadeAfterDelete(EventSource session,
EntityPersister persister,
Object entity,
Set transientEntities) |
protected void |
DefaultMergeEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
protected void |
DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session,
EntityPersister persister,
Object entity,
EntityEntry entityEntry,
Set transientEntities) |
protected void |
DefaultMergeEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
void |
DefaultFlushEntityEventListener.checkId(Object object,
EntityPersister persister,
Serializable id,
SessionImplementor session)
make sure user didn't mangle the id
|
protected void |
DefaultFlushEntityEventListener.dirtyCheck(FlushEntityEvent event)
Perform a dirty check, and attach the results to the event
|
protected void |
DefaultEvictEventListener.doEvict(Object object,
EntityKey key,
EntityPersister persister,
EventSource session) |
protected Serializable |
DefaultSaveOrUpdateEventListener.entityIsPersistent(SaveOrUpdateEvent event) |
protected void |
AbstractFlushingEventListener.flushEverythingToExecutions(FlushEvent event)
Coordinates the processing necessary to get things ready for executions
as db calls by preping the session caches and moving the appropriate
entities and collections to their respective execution queues.
|
protected Serializable |
DefaultUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
If the user specified an id, assign it to the instance and use that,
otherwise use the id already assigned to the instance
|
protected boolean |
DefaultFlushEntityEventListener.isUpdateNecessary(FlushEntityEvent event)
Performs all necessary checking to determine if an entity needs an SQL update
to synchronize its state to the database.
|
protected Object |
DefaultLoadEventListener.loadFromSessionCache(LoadEvent event,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Attempts to locate the entity in the session-level cache.
|
void |
DefaultAutoFlushEventListener.onAutoFlush(AutoFlushEvent event)
Handle the given auto-flush event.
|
void |
DefaultDeleteEventListener.onDelete(DeleteEvent event)
Handle the given delete event.
|
void |
DefaultDeleteEventListener.onDelete(DeleteEvent event,
Set transientEntities)
Handle the given delete event.
|
void |
DefaultDirtyCheckEventListener.onDirtyCheck(DirtyCheckEvent event)
Handle the given dirty-check event.
|
void |
DefaultEvictEventListener.onEvict(EvictEvent event)
Handle the given evict event.
|
void |
DefaultFlushEventListener.onFlush(FlushEvent event)
Handle the given flush event.
|
void |
DefaultFlushEntityEventListener.onFlushEntity(FlushEntityEvent event)
Flushes a single entity's state to the database, by scheduling
an update action, if necessary
|
void |
DefaultInitializeCollectionEventListener.onInitializeCollection(InitializeCollectionEvent event)
called by a collection that wants to initialize itself
|
void |
DefaultLoadEventListener.onLoad(LoadEvent event,
LoadEventListener.LoadType loadType)
Handle the given load event.
|
void |
DefaultLockEventListener.onLock(LockEvent event)
Handle the given lock event.
|
void |
DefaultMergeEventListener.onMerge(MergeEvent event)
Handle the given merge event.
|
void |
DefaultMergeEventListener.onMerge(MergeEvent event,
Map copiedAlready)
Handle the given merge event.
|
void |
DefaultPersistEventListener.onPersist(PersistEvent event)
Handle the given create event.
|
void |
DefaultPersistEventListener.onPersist(PersistEvent event,
Map createCache)
Handle the given create event.
|
void |
DefaultRefreshEventListener.onRefresh(RefreshEvent event) |
void |
DefaultResolveNaturalIdEventListener.onResolveNaturalId(ResolveNaturalIdEvent event) |
protected void |
DefaultSaveOrUpdateEventListener.performUpdate(SaveOrUpdateEvent event,
Object entity,
EntityPersister persister) |
protected void |
AbstractFlushingEventListener.postFlush(SessionImplementor session)
1.
|
Object |
OnReplicateVisitor.processCollection(Object collection,
CollectionType type) |
Object |
OnLockVisitor.processCollection(Object collection,
CollectionType type) |
void |
AbstractVisitor.processEntityPropertyValues(Object[] values,
Type[] types)
Dispatch each property value to processValue().
|
protected void |
ProxyVisitor.reattachCollection(PersistentCollection collection,
CollectionType type)
Reattach a detached (disassociated) initialized or uninitialized
collection wrapper, using a snapshot carried with the collection
wrapper
|
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,
Serializable 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 |
QueryExecutionRequestException
Expecting to execute an illegal operation regarding the query type
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidWithClauseException
Indicates an issue with the encountered with-clause.
|
class |
QuerySyntaxException
Exception thrown when there is a syntax error in the HQL.
|
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
List |
QueryTranslatorImpl.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
void |
QueryTranslatorImpl.validateScrollability() |
Modifier and Type | Method and Description |
---|---|
protected int |
BasicExecutor.doExecute(QueryParameters parameters,
SharedSessionContractImplementor session,
String sql,
List parameterSpecifications) |
int |
StatementExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session)
Execute the sql managed by this executor using the given parameters.
|
int |
MultiTableUpdateExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
MultiTableDeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
DeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
BasicExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
protected Object |
QueryTranslatorImpl.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object[] |
QueryTranslatorImpl.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
List |
QueryTranslatorImpl.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
void |
QueryTranslatorImpl.validateScrollability() |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslator.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Perform a bulk update/delete operation given the underlying query definition.
|
Iterator |
QueryTranslator.iterate(QueryParameters queryParameters,
EventSource session)
Perform an iterate operation given the underlying query definition.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
IdentifierGenerationException
Thrown by IdentifierGenerator implementation class when
ID generation fails.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
UUIDGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
IncrementGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
IdentifierGenerator.generate(SharedSessionContractImplementor session,
Object object)
Generate a new identifier.
|
Serializable |
GUIDGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
CompositeNestedGeneratedValueGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
Assigned.generate(SharedSessionContractImplementor session,
Object obj) |
static Serializable |
IdentifierGeneratorHelper.getGeneratedIdentity(ResultSet rs,
String identifier,
Type type,
Dialect dialect)
Get the generated identifier when using identity columns
|
InsertGeneratedIdentifierDelegate |
SequenceIdentityGenerator.getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled)
Deprecated.
|
InsertGeneratedIdentifierDelegate |
SelectGenerator.getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
InsertGeneratedIdentifierDelegate |
PostInsertIdentifierGenerator.getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
InsertGeneratedIdentifierDelegate |
IdentityGenerator.getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
String[] |
SequenceGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
|
String[] |
PersistentIdentifierGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
Utilize the ExportableProducer contract instead
|
String[] |
MultipleHiLoPerTableGenerator.sqlCreateStrings(Dialect dialect)
Deprecated.
|
String[] |
SequenceGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
|
String[] |
PersistentIdentifierGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
Utilize the ExportableProducer contract instead
|
String[] |
MultipleHiLoPerTableGenerator.sqlDropStrings(Dialect dialect)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
SequenceStyleGenerator.generate(SharedSessionContractImplementor session,
Object object) |
String[] |
TableStructure.sqlCreateStrings(Dialect dialect) |
String[] |
TableGenerator.sqlCreateStrings(Dialect dialect) |
String[] |
SequenceStyleGenerator.sqlCreateStrings(Dialect dialect) |
String[] |
SequenceStructure.sqlCreateStrings(Dialect dialect) |
String[] |
TableStructure.sqlDropStrings(Dialect dialect) |
String[] |
TableGenerator.sqlDropStrings(Dialect dialect) |
String[] |
SequenceStyleGenerator.sqlDropStrings(Dialect dialect) |
String[] |
SequenceStructure.sqlDropStrings(Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
HibernateException |
CoreMessageLogger.usingStoppedClassLoaderService() |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ExceptionConverterImpl.convert(HibernateException e) |
RuntimeException |
ExceptionConverterImpl.convert(HibernateException e,
LockOptions lockOptions) |
void |
CoreMessageLogger.namedQueryError(String queryName,
HibernateException e) |
void |
CoreMessageLogger.unableToCloseSession(HibernateException e) |
void |
CoreMessageLogger.unableToCloseSessionButSwallowingError(HibernateException e) |
void |
CoreMessageLogger.unableToConfigureSqlExceptionConverter(HibernateException e) |
void |
CoreMessageLogger.unableToCreateProxyFactory(String entityName,
HibernateException e) |
void |
CoreMessageLogger.unableToLoadCommand(HibernateException e) |
void |
CoreMessageLogger.unableToSynchronizeDatabaseStateWithSession(HibernateException he) |
protected PersistenceException |
ExceptionConverterImpl.wrapLockException(HibernateException e,
LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SessionImpl.autoFlushIfRequired(Set querySpaces)
detect in-memory changes, determine if the changes are to tables
named in the query and, if so, complete execution the flush
|
void |
SessionImpl.cancelQuery() |
void |
SessionImpl.close() |
void |
SessionFactoryImpl.close()
Closes the session factory, releasing all held resources.
|
void |
SessionImpl.closeWithoutOpenChecks() |
Connection |
SessionImpl.connection() |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
JoinType joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
void |
SessionImpl.delete(Object object) |
void |
SessionImpl.delete(String entityName,
Object object) |
void |
SessionImpl.delete(String entityName,
Object object,
boolean isCascadeDeleteEnabled,
Set transientEntities) |
Connection |
SessionImpl.disconnect() |
<T> T |
SessionImpl.doReturningWork(ReturningWork<T> work) |
void |
SessionImpl.doWork(Work work) |
void |
SessionImpl.evict(Object object)
remove any hard references to the entity that are held by the infrastructure
(references held by application or other persistent instances are okay)
|
int |
StatelessSessionImpl.executeNativeUpdate(NativeSQLQuerySpecification nativeSQLQuerySpecification,
QueryParameters queryParameters) |
int |
SessionImpl.executeNativeUpdate(NativeSQLQuerySpecification nativeQuerySpecification,
QueryParameters queryParameters) |
int |
StatelessSessionImpl.executeUpdate(String query,
QueryParameters queryParameters) |
int |
SessionImpl.executeUpdate(String query,
QueryParameters queryParameters) |
void |
SessionImpl.flush() |
void |
SessionImpl.forceFlush(EntityEntry entityEntry) |
Object[] |
AbstractScrollableResults.get() |
<T> T |
SessionImpl.get(Class<T> entityClass,
Serializable id) |
<T> T |
SessionImpl.get(Class<T> entityClass,
Serializable id,
LockMode lockMode) |
<T> T |
SessionImpl.get(Class<T> entityClass,
Serializable id,
LockOptions lockOptions) |
Object |
AbstractScrollableResults.get(int col) |
Object |
SessionImpl.get(String entityName,
Serializable id) |
Object |
SessionImpl.get(String entityName,
Serializable id,
LockMode lockMode) |
Object |
SessionImpl.get(String entityName,
Serializable id,
LockOptions lockOptions) |
Map<String,ClassMetadata> |
SessionFactoryImpl.getAllClassMetadata() |
Map |
SessionFactoryImpl.getAllCollectionMetadata() |
BigDecimal |
AbstractScrollableResults.getBigDecimal(int col) |
BigInteger |
AbstractScrollableResults.getBigInteger(int col) |
byte[] |
AbstractScrollableResults.getBinary(int col) |
Blob |
AbstractScrollableResults.getBlob(int col) |
Boolean |
AbstractScrollableResults.getBoolean(int col) |
Byte |
AbstractScrollableResults.getByte(int col) |
Calendar |
AbstractScrollableResults.getCalendar(int col) |
Character |
AbstractScrollableResults.getCharacter(int col) |
ClassMetadata |
SessionFactoryImpl.getClassMetadata(Class persistentClass) |
ClassMetadata |
SessionFactoryImpl.getClassMetadata(String entityName) |
Clob |
AbstractScrollableResults.getClob(int col) |
CollectionMetadata |
SessionFactoryImpl.getCollectionMetadata(String roleName) |
LockMode |
SessionImpl.getCurrentLockMode(Object object) |
Session |
SessionFactoryImpl.getCurrentSession() |
Date |
AbstractScrollableResults.getDate(int col) |
Double |
AbstractScrollableResults.getDouble(int col) |
EntityPersister |
StatelessSessionImpl.getEntityPersister(String entityName,
Object object) |
Object |
StatelessSessionImpl.getEntityUsingInterceptor(EntityKey key) |
Object |
SessionImpl.getEntityUsingInterceptor(EntityKey key) |
FilterDefinition |
SessionFactoryImpl.getFilterDefinition(String filterName) |
protected Object |
AbstractScrollableResults.getFinal(int col,
Type returnType)
Check that the requested type is compatible with the result type, and
return the column value.
|
Float |
AbstractScrollableResults.getFloat(int col) |
Serializable |
SessionImpl.getIdentifier(Object object) |
Integer |
AbstractScrollableResults.getInteger(int col) |
Locale |
AbstractScrollableResults.getLocale(int col) |
Long |
AbstractScrollableResults.getLong(int col) |
protected NativeSQLQueryPlan |
AbstractSharedSessionContract.getNativeQueryPlan(NativeSQLQuerySpecification spec) |
protected Object |
AbstractScrollableResults.getNonFinal(int col,
Type returnType)
Check that the requested type is compatible with the result type, and
return the column value.
|
protected HQLQueryPlan |
AbstractSharedSessionContract.getQueryPlan(String query,
boolean shallow) |
String[] |
SessionFactoryImpl.getReturnAliases(String queryString) |
Type[] |
SessionFactoryImpl.getReturnTypes(String queryString) |
int |
ScrollableResultsImpl.getRowNumber() |
Short |
AbstractScrollableResults.getShort(int col) |
String |
AbstractScrollableResults.getString(int col) |
String |
AbstractScrollableResults.getText(int col) |
TimeZone |
AbstractScrollableResults.getTimeZone(int col) |
Transaction |
AbstractSharedSessionContract.getTransaction() |
String |
StatelessSessionImpl.guessEntityName(Object entity) |
String |
SessionImpl.guessEntityName(Object object) |
Object |
StatelessSessionImpl.immediateLoad(String entityName,
Serializable id) |
Object |
SessionImpl.immediateLoad(String entityName,
Serializable id)
Load the data for the object with the specified id into a newly created object.
|
void |
StatelessSessionImpl.initializeCollection(PersistentCollection collection,
boolean writing) |
Object |
SessionImpl.instantiate(EntityPersister persister,
Serializable id)
give the interceptor an opportunity to override the default instantiation
|
Object |
StatelessSessionImpl.instantiate(String entityName,
Serializable id) |
Object |
SessionImpl.instantiate(String entityName,
Serializable id) |
Object |
StatelessSessionImpl.internalLoad(String entityName,
Serializable id,
boolean eager,
boolean nullable) |
Object |
SessionImpl.internalLoad(String entityName,
Serializable id,
boolean eager,
boolean nullable) |
boolean |
SessionImpl.isDirty() |
Iterator |
StatelessSessionImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
SessionImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
StatelessSessionImpl.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters) |
List |
CriteriaImpl.list() |
List |
CriteriaImpl.Subcriteria.list() |
List |
StatelessSessionImpl.list(Criteria criteria) |
List |
SessionImpl.list(Criteria criteria) |
List |
StatelessSessionImpl.list(String query,
QueryParameters queryParameters) |
List |
SessionImpl.list(String query,
QueryParameters queryParameters) |
List |
StatelessSessionImpl.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
List |
StatelessSessionImpl.listFilter(Object collection,
String filter,
QueryParameters queryParameters) |
<T> T |
SessionImpl.load(Class<T> entityClass,
Serializable id) |
<T> T |
SessionImpl.load(Class<T> entityClass,
Serializable id,
LockMode lockMode) |
<T> T |
SessionImpl.load(Class<T> entityClass,
Serializable id,
LockOptions lockOptions) |
void |
SessionImpl.load(Object object,
Serializable id) |
Object |
SessionImpl.load(String entityName,
Serializable id) |
Object |
SessionImpl.load(String entityName,
Serializable id,
LockMode lockMode) |
Object |
SessionImpl.load(String entityName,
Serializable id,
LockOptions lockOptions) |
void |
SessionImpl.lock(Object object,
LockMode lockMode) |
void |
SessionImpl.lock(String entityName,
Object object,
LockMode lockMode) |
Object |
SessionImpl.merge(Object object) |
Object |
SessionImpl.merge(String entityName,
Object object) |
void |
SessionImpl.merge(String entityName,
Object object,
Map copiedAlready) |
Object |
IteratorImpl.next() |
Session |
SessionFactoryImpl.openSession() |
Session |
SessionFactoryImpl.openTemporarySession() |
void |
SessionImpl.persist(Object object) |
void |
SessionImpl.persist(String entityName,
Object object) |
void |
SessionImpl.persist(String entityName,
Object object,
Map copiedAlready) |
void |
SessionImpl.persistOnFlush(Object object) |
void |
SessionImpl.persistOnFlush(String entityName,
Object object) |
void |
SessionImpl.persistOnFlush(String entityName,
Object object,
Map copiedAlready) |
void |
SessionImpl.reconnect(Connection conn) |
void |
SessionImpl.refresh(Object object) |
void |
SessionImpl.refresh(Object object,
LockMode lockMode) |
void |
SessionImpl.refresh(Object object,
LockOptions lockOptions) |
void |
SessionImpl.refresh(String entityName,
Object object) |
void |
SessionImpl.refresh(String entityName,
Object object,
LockOptions lockOptions) |
void |
SessionImpl.refresh(String entityName,
Object object,
Map refreshedAlready) |
void |
SessionImpl.replicate(Object obj,
ReplicationMode replicationMode) |
void |
SessionImpl.replicate(String entityName,
Object obj,
ReplicationMode replicationMode) |
Serializable |
SessionImpl.save(Object obj) |
Serializable |
SessionImpl.save(String entityName,
Object object) |
void |
SessionImpl.saveOrUpdate(Object object) |
void |
SessionImpl.saveOrUpdate(String entityName,
Object obj) |
ScrollableResults |
CriteriaImpl.Subcriteria.scroll() |
ScrollableResults |
CriteriaImpl.Subcriteria.scroll(ScrollMode scrollMode) |
ScrollableResultsImplementor |
StatelessSessionImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SessionImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
StatelessSessionImpl.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
void |
StatelessSessionImpl.setDefaultReadOnly(boolean readOnly) |
Filter |
FilterImpl.setParameterList(String name,
Collection values)
Set the named parameter's value list for this filter.
|
boolean |
ScrollableResultsImpl.setRowNumber(int rowNumber) |
Object |
CriteriaImpl.uniqueResult() |
Object |
CriteriaImpl.Subcriteria.uniqueResult() |
void |
SessionImpl.update(Object obj) |
void |
SessionImpl.update(String entityName,
Object object) |
void |
FilterImpl.validate()
Perform validation of the filter state.
|
Constructor and Description |
---|
IteratorImpl(ResultSet rs,
PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
String[][] columnNames,
HolderInstantiator holderInstantiator) |
Modifier and Type | Method and Description |
---|---|
static InputStream |
ConfigHelper.getConfigStream(String path)
Deprecated.
Open an InputStream to the URL represented by the incoming path.
|
void |
EntityPrinter.toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey) |
String |
EntityPrinter.toString(Map<String,TypedValue> namedTypedValues) |
String |
EntityPrinter.toString(String entityName,
Object entity)
Renders an entity to a string.
|
String |
EntityPrinter.toString(Type[] types,
Object[] values) |
void |
Cloneable.validate()
Checks to ensure the SessionEventListenerConfig is fully
configured (basically, that none of the listeners is null).
|
Modifier and Type | Class and Description |
---|---|
class |
BeanIntrospectionException
Indicates a problem dealing with
BeanInfo via the BeanInfoHelper delegate. |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationException
TODO : javadoc
|
Modifier and Type | Class and Description |
---|---|
class |
UnsupportedOrmXsdVersionException
Deprecated.
Migrating to boot package; all usages will eventually be replaced by
UnsupportedOrmXsdVersionException |
class |
XsdException
Indicates an issue finding or loading an XSD schema.
|
Modifier and Type | Class and Description |
---|---|
class |
BatchedTooManyRowsAffectedException
Much like
TooManyRowsAffectedException , 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.
|
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)
Perform verification of the outcome of the RDBMS operation based on
the type of expectation defined.
|
Modifier and Type | Class and Description |
---|---|
static class |
PersistenceUtilHelper.AttributeExtractionException |
Modifier and Type | Class and Description |
---|---|
class |
MultipleBagFetchException
Exception used to indicate that a query is attempting to simultaneously fetch multiple
bags |
Modifier and Type | Method and Description |
---|---|
protected String |
Loader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions)
Append FOR UPDATE OF clause, if necessary.
|
protected int |
Loader.bindNamedParameters(PreparedStatement statement,
Map<String,TypedValue> namedParams,
int startIndex,
SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
Loader.bindPositionalParameters(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 List |
Loader.doList(SharedSessionContractImplementor session,
QueryParameters queryParameters)
Actually execute a query, ignoring the query cache
|
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.
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected Object |
Loader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session)
Get the actual object that is returned in the user-visible result list.
|
protected Object[] |
Loader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
protected ResultSet |
Loader.getResultSet(CallableStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given CallableStatement, advance to the first result and return SQL ResultSet.
|
protected ResultSet |
Loader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected List |
Loader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes)
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
|
void |
Loader.loadCollection(SharedSessionContractImplementor session,
Serializable id,
Type type)
Called by subclasses that initialize collections
|
void |
Loader.loadCollectionBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type type)
Called by wrappers that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SharedSessionContractImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Object |
Loader.loadSequentialRowsForward(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSequentialRowsReverse(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSingleRow(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single row from the result set.
|
protected PreparedStatement |
Loader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
protected String |
Loader.preprocessSQL(String sql,
QueryParameters parameters,
SessionFactoryImplementor sessionFactory,
List<AfterLoadAction> afterLoadActions)
Modify the SQL, adding lock hints and comments, if necessary
|
protected ScrollableResultsImplementor |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
void |
SubselectOneToManyLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
SubselectCollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session)
Initialize the given collection
|
Modifier and Type | Method and Description |
---|---|
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
AbstractLoadPlanBasedCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
String[] |
CriteriaQueryTranslator.findColumns(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.
|
String[] |
CriteriaQueryTranslator.getColumns(String propertyName,
Criteria subcriteria) |
String[] |
CriteriaQueryTranslator.getColumnsUsingProjection(Criteria subcriteria,
String propertyName)
Get the names of the columns constrained
by this criterion.
|
protected Object |
CriteriaLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object[] |
CriteriaLoader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
Type |
CriteriaQueryTranslator.getType(Criteria subcriteria,
String propertyName) |
TypedValue |
CriteriaQueryTranslator.getTypedValue(Criteria subcriteria,
String propertyName,
Object value)
Get the a typed value for the given property value.
|
Type |
CriteriaQueryTranslator.getTypeUsingProjection(Criteria subcriteria,
String propertyName) |
List |
CriteriaLoader.list(SharedSessionContractImplementor session) |
ScrollableResultsImplementor |
CriteriaLoader.scroll(SharedSessionContractImplementor session,
ScrollMode scrollMode) |
Constructor and Description |
---|
CriteriaLoader(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
CriteriaImpl criteria,
String rootEntityName,
LoadQueryInfluencers loadQueryInfluencers) |
CriteriaQueryTranslator(SessionFactoryImplementor factory,
CriteriaImpl criteria,
String rootEntityName,
String rootSQLAlias) |
CriteriaQueryTranslator(SessionFactoryImplementor factory,
CriteriaImpl criteria,
String rootEntityName,
String rootSQLAlias,
CriteriaQuery outerQuery) |
Modifier and Type | Class and Description |
---|---|
class |
NonUniqueDiscoveredSqlAliasException |
Constructor and Description |
---|
SQLCustomQuery(String sqlQuery,
NativeSQLQueryReturn[] queryReturns,
Collection additionalQuerySpaces,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
CollectionElementLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object |
AbstractEntityLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
Object |
CollectionElementLoader.loadElement(SharedSessionContractImplementor session,
Object key,
Object index) |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Modifier and Type | Method and Description |
---|---|
protected Object |
QueryLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object[] |
QueryLoader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
Iterator |
QueryLoader.iterate(QueryParameters queryParameters,
EventSource session) |
List |
QueryLoader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryLoader.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
void |
QueryLoader.validateScrollability() |
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractLoadPlanBasedLoader.bindNamedParameters(PreparedStatement statement,
Map namedParams,
int startIndex,
SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
AbstractLoadPlanBasedLoader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected ResultSet |
AbstractLoadPlanBasedLoader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected PreparedStatement |
AbstractLoadPlanBasedLoader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
Modifier and Type | Class and Description |
---|---|
class |
QuerySpaceUidNotRegisteredException
Indicates an attempt to lookup a QuerySpace by its uid, when no registration has been made under that uid.
|
Modifier and Type | Method and Description |
---|---|
String |
Column.getSqlType(Dialect dialect,
Mapping mapping) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Metadata metadata,
TableInformation tableInfo,
String defaultCatalog,
String defaultSchema) |
String |
RelationalModel.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema)
Deprecated.
|
String |
Index.sqlCreateString(Dialect dialect,
Mapping mapping,
String defaultCatalog,
String defaultSchema) |
Modifier and Type | Method and Description |
---|---|
Serializable |
ClassMetadata.getIdentifier(Object object)
Deprecated.
|
Type |
ClassMetadata.getPropertyType(String propertyName)
Get the type of a particular (named) property
|
Object |
ClassMetadata.getPropertyValue(Object object,
String propertyName)
Get the value of a particular (named) property
|
Object[] |
ClassMetadata.getPropertyValues(Object entity)
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)
Return the values of the mapped properties of the object
|
Object |
ClassMetadata.getVersion(Object object)
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)
Set the value of a particular (named) property
|
void |
ClassMetadata.setPropertyValues(Object object,
Object[] values)
Set the given values to the mapped properties of the given object
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionPersister.deleteRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Delete the persistent state of any elements that were removed from
the collection
|
void |
AbstractCollectionPersister.deleteRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
int nextIndex,
SharedSessionContractImplementor session)
|
protected void |
OneToManyPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected abstract void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
protected int |
BasicCollectionPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SharedSessionContractImplementor session) |
protected abstract int |
AbstractCollectionPersister.doUpdateRows(Serializable key,
PersistentCollection collection,
SharedSessionContractImplementor session) |
void |
NamedQueryCollectionInitializer.initialize(Serializable key,
SharedSessionContractImplementor session) |
void |
CollectionPersister.initialize(Serializable key,
SharedSessionContractImplementor session)
Initialize the given collection with the given key
TODO: add owner argument!!
|
void |
AbstractCollectionPersister.initialize(Serializable key,
SharedSessionContractImplementor session) |
void |
OneToManyPersister.insertRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.insertRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Insert the persistent state of any new collection elements
|
void |
AbstractCollectionPersister.insertRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Process queued operations within the PersistentCollection.
|
void |
AbstractCollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readElement(ResultSet rs,
Object owner,
String[] columnAliases,
SharedSessionContractImplementor session)
Read the element from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readElement(ResultSet rs,
Object owner,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readIdentifier(ResultSet rs,
String columnAlias,
SharedSessionContractImplementor session)
Read the identifier from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIdentifier(ResultSet rs,
String alias,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readIndex(ResultSet rs,
String[] columnAliases,
SharedSessionContractImplementor session)
Read the index from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIndex(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
|
Object |
AbstractCollectionPersister.readKey(ResultSet rs,
String[] aliases,
SharedSessionContractImplementor session) |
void |
OneToManyPersister.recreate(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.recreate(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
(Re)create the collection's persistent state
|
void |
AbstractCollectionPersister.recreate(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.remove(Serializable id,
SharedSessionContractImplementor session)
Completely remove the persistent state of the collection
|
void |
AbstractCollectionPersister.remove(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.updateRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Update the persistent state of any elements that were modified
|
void |
AbstractCollectionPersister.updateRows(PersistentCollection collection,
Serializable 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,
Serializable key,
int i,
SharedSessionContractImplementor session)
Write the key to a JDBC PreparedStatement
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractEntityPersister.check(int rows,
Serializable id,
int tableNumber,
Expectation expectation,
PreparedStatement statement) |
Object |
EntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
Object |
AbstractEntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session) |
Object |
DiscriminatorType.deepCopy(Object value,
SessionFactoryImplementor factory) |
protected int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement st,
SharedSessionContractImplementor session,
boolean isUpdate) |
protected int |
AbstractEntityPersister.dehydrate(Serializable 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
|
protected void |
AbstractEntityPersister.delete(Serializable id,
Object version,
int j,
Object object,
String sql,
SharedSessionContractImplementor session,
Object[] loadedState)
Perform an SQL DELETE
|
void |
EntityPersister.delete(Serializable id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete a persistent instance
|
void |
AbstractEntityPersister.delete(Serializable 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(Serializable id,
Object currentVersion,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getCurrentVersion(Serializable 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(Serializable id,
SharedSessionContractImplementor session)
Retrieve the version number
|
Object[] |
EntityPersister.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without
resolving identifiers
|
Object[] |
AbstractEntityPersister.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Serializable |
AbstractEntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.getIdentifier(Object object)
Deprecated.
|
IdentifierGenerator |
AbstractEntityPersister.getIdentifierGenerator() |
Object[] |
AbstractEntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getPropertyValue(Object object,
int i)
Get the value of a particular property
|
Object[] |
EntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)
|
Object[] |
AbstractEntityPersister.getPropertyValuesToInsert(Object object,
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[] |
Loadable.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SharedSessionContractImplementor session)
Retrieve property values from one row of a result set
|
Object[] |
AbstractEntityPersister.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SharedSessionContractImplementor session)
Unmarshall the fields of a persistent instance from a result set,
without resolving associations or collections.
|
protected Serializable |
AbstractEntityPersister.insert(Object[] fields,
boolean[] notNull,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.
|
Serializable |
EntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)
|
Serializable |
AbstractEntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session) |
protected void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
boolean[] notNull,
int j,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT.
|
void |
EntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance
|
boolean |
DiscriminatorType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
Boolean |
EntityPersister.isTransient(Object object,
SharedSessionContractImplementor session)
Is this a new transient instance?
|
Boolean |
AbstractEntityPersister.isTransient(Object entity,
SharedSessionContractImplementor session) |
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable 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
|
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable 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 |
EntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update a persistent instance
|
void |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update an object
|
protected boolean |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session) |
protected void |
AbstractEntityPersister.updateOrInsert(Serializable 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 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) |
Modifier and Type | Method and Description |
---|---|
CollectionPersister |
PersisterFactoryImpl.createCollectionPersister(Collection collectionBinding,
CollectionDataAccess cacheAccessStrategy,
PersisterCreationContext creationContext) |
EntityPersister |
PersisterFactoryImpl.createEntityPersister(PersistentClass entityBinding,
EntityDataAccess entityCacheAccessStrategy,
NaturalIdDataAccess naturalIdCacheAccessStrategy,
PersisterCreationContext creationContext) |
Modifier and Type | Class and Description |
---|---|
class |
UnknownPersisterException
Indicates that the persister to use is not known and couyld 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
ParameterRegistration |
class |
ParameterStrategyException |
class |
UnknownSqlResultSetMappingException |
Modifier and Type | Class and Description |
---|---|
class |
PropertyAccessBuildingException
Indicates a problem while building a PropertyAccess
|
class |
PropertyAccessSerializationException |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
AbstractLazyInitializer.getImplementation(SharedSessionContractImplementor s) |
HibernateProxy |
ProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
void |
LazyInitializer.initialize()
Initialize the proxy, fetching the target entity if necessary.
|
void |
AbstractLazyInitializer.initialize() |
void |
ProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType)
Called immediately after instantiation of this factory.
|
void |
LazyInitializer.setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session.
|
void |
AbstractLazyInitializer.setSession(SharedSessionContractImplementor s) |
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(Serializable id,
SharedSessionContractImplementor session) |
void |
ByteBuddyProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType) |
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
JavassistProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session) |
void |
JavassistProxyFactory.postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractProducedQuery.executeUpdate() |
Iterator |
CollectionFilterImpl.iterate() |
List |
CollectionFilterImpl.list() |
ScrollableResultsImplementor |
CollectionFilterImpl.scroll() |
Modifier and Type | Method and Description |
---|---|
Map<String,HibernateException> |
NamedQueryRepository.checkNamedQueries(QueryPlanCache queryPlanCache) |
Modifier and Type | Class and Description |
---|---|
class |
NoSuchBeanException
Exception indicating that the given class is not known as a CDI bean - triggers
fallback handling
|
class |
NotYetReadyException
Exception indicating an attempt to access the CDI BeanManager before it is ready for use
|
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 | Method and Description |
---|---|
<T> T |
JdbcIsolationDelegate.delegateCallable(Callable<T> callable,
boolean transacted) |
<T> T |
JdbcIsolationDelegate.delegateWork(WorkExecutorVisitable<T> work,
boolean transacted) |
Modifier and Type | Class and Description |
---|---|
class |
JtaPlatformInaccessibleException
Indicates problems accessing TransactionManager or UserTransaction through the JtaPlatform
|
Modifier and Type | Method and Description |
---|---|
<T> T |
JtaIsolationDelegate.delegateCallable(Callable<T> callable,
boolean transacted) |
<T> T |
JtaIsolationDelegate.delegateWork(WorkExecutorVisitable<T> work,
boolean transacted) |
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 unkown service was requested from the registry.
|
class |
UnknownUnwrapTypeException |
Modifier and Type | Class and Description |
---|---|
class |
ServiceDependencyException
Indictes a problem processing service dependencies.
|
class |
ServiceProxyGenerationException
Indicates a problem generating a service proxy
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceException
Indicates a problem with a service.
|
Modifier and Type | Method and Description |
---|---|
SqlValueReference[] |
ColumnMapper.map(String reference)
Resolve the property reference to its underlying columns.
|
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.
|
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(Serializable id,
SharedSessionContractImplementor session)
Generates an appropriate proxy representation of this entity for this
entity-mode.
|
Serializable |
EntityTuplizer.getIdentifier(Object entity)
Deprecated.
|
Serializable |
AbstractEntityTuplizer.getIdentifier(Object entity) |
Object |
AbstractEntityTuplizer.getPropertyValue(Object entity,
int i) |
Object |
EntityTuplizer.getPropertyValue(Object entity,
String propertyName)
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)
Extract the values of the insertable properties of the entity (including backrefs)
|
Object |
EntityTuplizer.getVersion(Object entity)
Extract the value of the version property from the given entity.
|
Object |
AbstractEntityTuplizer.getVersion(Object entity) |
Object |
AbstractEntityTuplizer.instantiate() |
Object |
EntityTuplizer.instantiate(Serializable id)
Deprecated.
|
Object |
AbstractEntityTuplizer.instantiate(Serializable id) |
void |
EntityTuplizer.setIdentifier(Object entity,
Serializable id)
Deprecated.
|
void |
AbstractEntityTuplizer.setIdentifier(Object entity,
Serializable id) |
void |
EntityTuplizer.setPropertyValue(Object entity,
int i,
Object value)
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)
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 serializaed/deserialized
|
Modifier and Type | Method and Description |
---|---|
Object |
EnumType.assemble(Serializable cached,
Object owner) |
Object |
Type.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner)
Reconstruct the object from its disassembled state.
|
Object |
SpecialOneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.assemble(Serializable object,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.assemble(Serializable cached,
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 |
MetaType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Object |
CustomType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Object |
CompositeCustomType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Object |
ComponentType.deepCopy(Object component,
SessionFactoryImplementor factory) |
Object |
CollectionType.deepCopy(Object value,
SessionFactoryImplementor factory) |
Serializable |
EnumType.disassemble(Object value) |
Serializable |
Type.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner)
Return a disassembled representation of the object.
|
Serializable |
SpecialOneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
OneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ManyToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CompositeCustomType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ComponentType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CollectionType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AnyType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractStandardBasicType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
boolean |
EnumType.equals(Object x,
Object y) |
Date |
TimestampType.fromStringValue(String xml) |
T |
StringRepresentableType.fromStringValue(String string)
Consume the given string representation back into this types java form.
|
T |
SingleColumnType.fromStringValue(String xml) |
Object |
CustomType.fromStringValue(String string) |
T |
AbstractStandardBasicType.fromStringValue(String xml) |
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 |
CompositeCustomType.getPropertyValue(Object component,
int i) |
Object |
ComponentType.getPropertyValue(Object component,
int i) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
EntityMode entityMode) |
Object |
CompositeType.getPropertyValue(Object component,
int index,
SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.
|
Object |
CompositeCustomType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
AnyType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
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[] |
CompositeCustomType.getPropertyValues(Object component,
EntityMode entityMode) |
Object[] |
ComponentType.getPropertyValues(Object component,
EntityMode entityMode) |
Object[] |
CompositeType.getPropertyValues(Object component,
SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instance
|
Object[] |
CompositeCustomType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
ComponentType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
AnyType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
int |
EnumType.hashCode(Object x) |
Object |
Type.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value from the JDBC result set.
|
Object |
SpecialOneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.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,
Serializable key) |
PersistentCollection |
CustomCollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
BagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
ArrayType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
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 |
MetaType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CompositeCustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isDirty(Object old,
Object current,
boolean[] checkable,
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 |
ManyToOneType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
AbstractType.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 |
CompositeCustomType.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 |
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 |
ManyToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
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) |
boolean |
AnyType.isSame(Object x,
Object y) |
boolean |
AbstractType.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 |
Type.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
MetaType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.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 |
MetaType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String columnName,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
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 |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CompositeCustomType.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 |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AbstractSingleColumnStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
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 |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
EnumType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
CompositeCustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
SharedSessionContractImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
protected String |
CustomCollectionType.renderLoggableString(Object value,
SessionFactoryImplementor factory) |
protected String |
CollectionType.renderLoggableString(Object value,
SessionFactoryImplementor factory) |
Object |
EnumType.replace(Object original,
Object target,
Object owner) |
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 |
EntityType.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 |
CompositeCustomType.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 |
CollectionType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
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,
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 |
AbstractType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
MapType.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 |
ArrayType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
Type.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) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.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 |
ManyToOneType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
protected Object |
EntityType.resolveIdentifier(Serializable id,
SharedSessionContractImplementor session) |
protected Object |
EntityType.resolveIdentifier(Serializable id,
SharedSessionContractImplementor session,
Boolean overridingEager)
Resolve an identifier via a load.
|
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 |
ComponentType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.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 |
CompositeType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode)
Inject property values onto the given component instance
An optional operation
|
void |
CompositeCustomType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
void |
ComponentType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
String |
Type.toLoggableString(Object value,
SessionFactoryImplementor factory)
Generate a representation of the value for logging purposes.
|
String |
MetaType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
CustomType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
CompositeCustomType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
ComponentType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
CollectionType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
ArrayType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
AnyType.toLoggableString(Object value,
SessionFactoryImplementor factory) |
String |
CustomType.toString(Object value) |
String |
StringRepresentableType.toString(T value)
Render the value to the string representation.
|
String |
SingleColumnType.toString(T value) |
String |
MetaType.toXMLString(Object value,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
protected HibernateException |
AbstractTypeDescriptor.unknownUnwrap(Class conversionType) |
protected HibernateException |
AbstractTypeDescriptor.unknownWrap(Class conversionType) |
Modifier and Type | Method and Description |
---|---|
Object |
UserType.assemble(Serializable cached,
Object owner)
Reconstruct an object from the cacheable representation.
|
Object |
CompositeUserType.assemble(Serializable cached,
SharedSessionContractImplementor session,
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.
|
Object |
CompositeUserType.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.
|
Serializable |
CompositeUserType.disassemble(Object value,
SharedSessionContractImplementor session)
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".
|
boolean |
CompositeUserType.equals(Object x,
Object y)
Compare two instances of the class mapped by this type for persistence "equality".
|
Object |
CompositeUserType.getPropertyValue(Object component,
int property)
Get the value of a property.
|
int |
UserType.hashCode(Object x)
Get a hashcode for the instance, consistent with persistence "equality"
|
int |
CompositeUserType.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.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
Object |
CompositeUserType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
void |
UserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.
|
void |
CompositeUserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.
|
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 |
CompositeUserType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
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
|
void |
CompositeUserType.setPropertyValue(Object component,
int property,
Object value)
Set the value of a property.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.