public interface SharedSessionBuilder<T extends SharedSessionBuilder> extends SessionBuilder<T>
Specialized SessionBuilder with access to stuff from another session.
| Modifier and Type | Method and Description |
|---|---|
T |
autoClose()
Signifies that the autoClose flag from the original session should be used to create the new session.
|
T |
autoJoinTransactions()
Signifies that the autoJoinTransaction flag from the original session should be used to create the new session.
|
T |
connection()
Signifies that the connection from the original session should be used to create the new session.
|
T |
connectionHandlingMode()
Signifies that the connection release mode from the original session should be used to create the new session.
|
T |
connectionReleaseMode()
Deprecated.
(snce 6.0) use
connectionHandlingMode() instead. |
default T |
flushBeforeCompletion()
Deprecated.
(since 5.2) use
flushMode() instead. |
T |
flushMode()
Signifies that the FlushMode from the original session should be used to create the new session.
|
T |
interceptor()
Signifies the interceptor from the original session should be used to create the new session.
|
default T |
transactionContext()
Deprecated.
Use
connection() instead |
autoClear, autoClose, autoJoinTransactions, clearEventListeners, connection, connectionHandlingMode, connectionReleaseMode, eventListeners, flushBeforeCompletion, flushMode, interceptor, jdbcTimeZone, noInterceptor, openSession, setQueryParameterValidation, statementInspector, tenantIdentifier@Deprecated default T transactionContext()
connection() insteadSignifies that the transaction context from the original session should be used to create the new session.
this, for method chainingT connection()
Signifies that the connection from the original session should be used to create the new session.
this, for method chainingT interceptor()
Signifies the interceptor from the original session should be used to create the new session.
this, for method chaining@Deprecated T connectionReleaseMode()
connectionHandlingMode() instead.Signifies that the connection release mode from the original session should be used to create the new session.
this, for method chainingT connectionHandlingMode()
Signifies that the connection release mode from the original session should be used to create the new session.
this, for method chainingT autoJoinTransactions()
Signifies that the autoJoinTransaction flag from the original session should be used to create the new session.
this, for method chainingT flushMode()
Signifies that the FlushMode from the original session should be used to create the new session.
this, for method chainingT autoClose()
Signifies that the autoClose flag from the original session should be used to create the new session.
this, for method chaining@Deprecated default T flushBeforeCompletion()
flushMode() instead.Signifies that the flushBeforeCompletion flag from the original session should be used to create the new session.
this, for method chainingCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.