getEventListenerManager()getJdbcConnectionAccess()getJdbcServices()getTransaction() (and therefore related methods such as beginTransaction(), etc)| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private CacheMode | |
| private transient CacheTransactionSynchronization | |
| protected boolean | |
| private final PhysicalConnectionHandlingMode | |
| private CriteriaCompiler | |
| private transient TransactionImplementor | |
| private transient EntityNameResolver | |
| private transient ExceptionConverter | |
| private transient SessionFactoryImpl | factory
Deprecated
as a consequence of
SessionFactoryImpl being deprecated.
|
| protected transient FastSessionServices | |
| private FlushMode | |
| private final Interceptor | |
| private final boolean | |
| private Integer | |
| private transient JdbcConnectionAccess | |
| private transient JdbcCoordinator | |
| private transient JdbcSessionContext | |
| private final TimeZone | |
| private static final EntityManagerMessageLogger | |
| private transient SessionEventListenerManagerImpl | |
| private UUID | |
| private final String | |
| private transient TransactionCoordinator | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | AbstractSharedSessionContract(SessionFactoryImpl factory, SessionCreationOptions options)
Deprecated
as a consequence of
SessionFactoryImpl being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public Transaction | accessTransaction()
Implements org. |
| protected void | |
| public void | afterTransactionCompletion(boolean
Was the transaction successful? successful, boolean Is this a delayed after transaction completion call (aka after a timeout)? delayed)Implements org. |
| protected void | |
| public void | beforeTransactionCompletion()
Implements org. |
| public Transaction | beginTransaction()
Implements org. Transaction object.
|
| private IllegalArgumentException | |
| protected <T> QueryImplementor | buildQueryFromName(String name, Class<T> resultType)
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public void | checkOpen(boolean markForRollbackIfClosed)
Implements org.
|
| protected void | |
| public void | checkTransactionNeededForUpdateOperation(String
the message to use for the TransactionRequiredException exceptionMessage)Overrides default org. |
| protected void | |
| protected void | |
| public void | close()
Implements org. |
| public QueryImplementor | createNamedQuery(String
the name of a pre-defined, named query name)Implements org.
Deprecated
as a consequence of
The JPA-defined named query creation method.
QueryImplementor being deprecated.
|
| public <R> QueryImplementor | createNamedQuery(String
the name of a query defined in metadata name, Class<R> the type of the query result resultClass)Implements org.
Deprecated
as a consequence of
The JPA-defined named, typed query creation method.
QueryImplementor being deprecated.
|
| private NativeQueryImplementor | createNativeQuery(NamedSQLQueryDefinition queryDefinition, boolean isOrdinalParameterZeroBased)
Deprecated
as a consequence of
NativeQueryImplementor being deprecated.
|
| protected <T> NativeQueryImplementor | createNativeQuery(NamedSQLQueryDefinition queryDefinition, Class<T> resultType)
Deprecated
as a consequence of
NativeQueryImplementor being deprecated.
|
| public NativeQueryImplementor | createNativeQuery(String
a native SQL query string sqlString)Implements org.
Deprecated
as a consequence of
Create a NativeQuery instance for the given native (SQL) query
NativeQueryImplementor being deprecated.
|
| public NativeQueryImplementor | createNativeQuery(String
Native (SQL) query string sqlString, Class<T> The Java entity type to map results to resultClass)Implements org.
Deprecated
as a consequence of
Create a NativeQuery instance for the given native (SQL) query using
implicit mapping to the specified Java type.
NativeQueryImplementor being deprecated.
|
| public NativeQueryImplementor | createNativeQuery(String
Native (SQL) query string sqlString, String The explicit (named) result mapping resultSetMapping)Implements org.
Deprecated
as a consequence of
Create a NativeQuery instance for the given native (SQL) query using
implicit mapping to the specified Java type.
NativeQueryImplementor being deprecated.
|
| protected QueryImpl | createQuery(NamedQueryDefinition queryDefinition)
Deprecated
as a consequence of
QueryImpl being deprecated.
|
| public QueryImpl | createQuery(String
The HQL/JPQL query queryString)Implements org.
Deprecated
as a consequence of
Create a QueryImpl being deprecated.
Query instance for the given HQL/JPQL query string.
|
| public <T> QueryImplementor | createQuery(CriteriaQuery<T> criteriaQuery)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | createQuery(CriteriaUpdate<T> criteriaUpdate)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | createQuery(CriteriaDelete<T> criteriaDelete)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public <T> QueryImplementor | createQuery(String jpaqlString, Class<T> resultClass, Selection<X> selection, HibernateEntityManagerImplementor.
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public <T> QueryImplementor | createQuery(String
The HQL/JPQL query queryString, Class<T> The type of the query result resultClass)Implements org.
Deprecated
as a consequence of
Create a typed QueryImplementor being deprecated.
Query instance for the given HQL/JPQL query string.
|
| protected <T> QueryImplementor | createQuery(NamedQueryDefinition namedQueryDefinition, Class<T> resultType)
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public NativeQueryImplementor | createSQLQuery(String
The SQL query queryString)Overrides default org.
Deprecated
as a consequence of
Create a NativeQueryImplementor being deprecated.
NativeQuery instance for the given SQL query string.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure.
ProcedureCall being deprecated.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName, Class<T>... The entity(s) to map the result on to. resultClasses)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure with specific result set entity mappings.
ProcedureCall being deprecated.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName, String... The explicit result set mapping(s) to use for mapping the results resultSetMappings)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure with specific result set entity mappings.
ProcedureCall being deprecated.
|
| protected CriteriaCompiler | |
| protected void | |
| public <T> T | doReturningWork(final ReturningWork<T>
The work to be performed. work)Overrides default org. |
| public void | doWork(final Work
The work to be performed. work)Overrides default org. |
| private <T> T | |
| protected void | |
| public <T> T | execute(final LobCreationContext.
The callback to execute . callbackImplements org. Connection.
|
| public EntityKey | generateEntityKey(Serializable
The entity id id, EntityPersister The entity persister persister)Implements org. |
| public CacheMode | |
| public CacheTransactionSynchronization | getCacheTransactionSynchronization()
Implements org. |
| public Integer | getConfiguredJdbcBatchSize()
Overrides default org. |
| protected TransactionImplementor | |
| public EntityNameResolver | |
| public SessionEventListenerManager | |
| public ExceptionConverter | getExceptionConverter()
Implements org. |
| public SessionFactoryImplementor | getFactory()
Implements org.
Deprecated
as a consequence of
Get the creating SessionFactoryImplementor
SessionFactoryImplementor being deprecated.
|
| public FlushModeType | getFlushMode()
Implements org. |
| public FlushMode | getHibernateFlushMode()
Implements org. |
| public Interceptor | getInterceptor()
Implements org. |
| public Integer | getJdbcBatchSize()
Implements org. |
| public JdbcConnectionAccess | |
| public JdbcCoordinator | |
| public JdbcServices | |
| public JdbcSessionContext | |
| public TimeZone | getJdbcTimeZone()
Implements org. TimeZone used when persisting Timestamp and DateTime properties into the database.
|
| public LobCreator | getLobCreator()
Implements org. LobCreator
|
| public NativeQueryImplementor | getNamedNativeQuery(String
The name of the pre-defined query name)Implements org.
Deprecated
as a consequence of
Get a NativeQuery instance for a named native SQL query
NativeQueryImplementor being deprecated.
|
| public ProcedureCall | getNamedProcedureCall(String
The name given to the template name)Implements org.
Deprecated
as a consequence of
Gets a ProcedureCall based on a named template
ProcedureCall being deprecated.
|
| public QueryImplementor | getNamedQuery(String
the name of a pre-defined, named query name)Implements org.
Deprecated
as a consequence of
Create a QueryImplementor being deprecated.
Query instance for the named query.
|
| public NativeQueryImplementor | getNamedSQLQuery(String
The name of the pre-defined query name)Overrides default org.
Deprecated
as a consequence of
Get a NativeQuery instance for a named native SQL query
NativeQueryImplementor being deprecated.
|
| private NativeQueryImplementor | getNativeQueryImplementor(NamedSQLQueryDefinition queryDefinition, ParameterMetadata parameterMetadata)
Deprecated
as a consequence of
NativeQueryImplementor being deprecated.
|
| protected NativeQueryImplementor | getNativeQueryImplementor(String queryString, boolean isOrdinalParameterZeroBased)
Deprecated
as a consequence of
NativeQueryImplementor being deprecated.
|
| protected NativeSQLQueryPlan | |
| protected HQLQueryPlan | |
| public UUID | getSessionIdentifier()
Implements org. |
| public String | getTenantIdentifier()
Implements org. |
| public Transaction | getTransaction()
Implements org. Transaction instance associated with this session.
|
| public TransactionCoordinator | getTransactionCoordinator()
Implements org. |
| public long | getTransactionStartTimestamp()
Implements org. |
| private void | handleNativeQueryResult(NativeQueryImplementor<T> query, Class<T> resultClass)
Deprecated
as a consequence of
NativeQueryImplementor being deprecated.
|
| protected void | initQueryFromNamedDefinition(Query<R> query, NamedQueryDefinition nqd)
Deprecated
as a consequence of
Query being deprecated.
|
| private Interceptor | |
| private StatementInspector | |
| public boolean | isClosed()
Implements org. |
| public boolean | isConnected()
Implements org. |
| public boolean | |
| public boolean | isOpenOrWaitingForAutoClose()
Overrides default org. |
| public boolean | isTransactionInProgress()
Implements org. |
| public List | list(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| protected abstract Object | |
| public void | markForRollbackOnly()
Implements org. |
| protected void | |
| protected void | |
| private void | |
| public SqlTypeDescriptor | remapSqlTypeDescriptor(SqlTypeDescriptor
The known descriptor sqlTypeDescriptor)Implements org. |
| protected void | |
| protected void | resultClassChecking(Class<T> resultClass, QueryImpl<R> hqlQuery)
Deprecated
as a consequence of
QueryImpl being deprecated.
|
| protected void | |
| public ScrollableResultsImplementor | scroll(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| public void | setCacheMode(CacheMode cacheMode)
Implements org. |
| protected void | |
| public void | setFlushMode(FlushMode
the new flush mode flushMode)Implements org. |
| public void | setHibernateFlushMode(FlushMode
the new flush mode flushMode)Implements org. |
| public void | setJdbcBatchSize(Integer
Session-level JDBC batch size jdbcBatchSize)Implements org. |
| public boolean | shouldAutoJoinTransaction()
Implements org. |
| protected boolean | |
| public void | startTransactionBoundary()
Implements org. org. API or via registration
of Hibernate's JTA Synchronization impl with a JTA Transaction
|
| public boolean | useStreamForLobBinding()
Implements org. |
| private void |