public interface FullTextSharedSessionBuilder extends SharedSessionBuilder
| Modifier and Type | Method and Description |
|---|---|
FullTextSharedSessionBuilder |
autoClose()
Deprecated.
|
FullTextSharedSessionBuilder |
autoClose(boolean autoClose)
Deprecated.
|
FullTextSharedSessionBuilder |
autoJoinTransactions()
Signifies that the autoJoinTransaction flag from the original session should be used to create the new session.
|
FullTextSharedSessionBuilder |
autoJoinTransactions(boolean autoJoinTransactions)
Should the session built automatically join in any ongoing JTA transactions.
|
FullTextSharedSessionBuilder |
connection()
Signifies that the connection from the original session should be used to create the new session.
|
FullTextSharedSessionBuilder |
connection(Connection connection)
Adds a specific connection to the session options.
|
FullTextSharedSessionBuilder |
connectionReleaseMode()
Signifies that the connection release mode from the original session should be used to create the new session.
|
FullTextSharedSessionBuilder |
connectionReleaseMode(ConnectionReleaseMode connectionReleaseMode)
Use a specific connection release mode for these session options.
|
FullTextSharedSessionBuilder |
flushBeforeCompletion()
Signifies that the flushBeforeCompletion flag from the original session should be used to create the new session.
|
FullTextSharedSessionBuilder |
flushBeforeCompletion(boolean flushBeforeCompletion)
Should the session be automatically flushed during the "before completion" phase of transaction handling.
|
FullTextSharedSessionBuilder |
interceptor()
Signifies the interceptor from the original session should be used to create the new session.
|
FullTextSharedSessionBuilder |
interceptor(Interceptor interceptor)
Adds a specific interceptor to the session options.
|
FullTextSharedSessionBuilder |
noInterceptor()
Signifies that no
Interceptor should be used. |
FullTextSession |
openSession()
Opens a session with the specified options.
|
FullTextSharedSessionBuilder |
tenantIdentifier(String tenantIdentifier)
Define the tenant identifier to be associated with the opened session.
|
FullTextSharedSessionBuilder |
transactionContext()
Signifies that the transaction context from the original session should be used to create the new session.
|
clearEventListeners, eventListeners, statementInspectorFullTextSharedSessionBuilder interceptor()
SharedSessionBuilderinterceptor in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder connection()
SharedSessionBuilderconnection in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder connectionReleaseMode()
SharedSessionBuilderconnectionReleaseMode in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder autoJoinTransactions()
SharedSessionBuilderautoJoinTransactions in interface SharedSessionBuilderthis, for method chaining@Deprecated FullTextSharedSessionBuilder autoClose()
SharedSessionBuilderautoClose in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder flushBeforeCompletion()
SharedSessionBuilderflushBeforeCompletion in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder transactionContext()
SharedSessionBuildertransactionContext in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder interceptor(Interceptor interceptor)
SessionBuilderinterceptor in interface SessionBuilderinterceptor in interface SharedSessionBuilderinterceptor - The interceptor to use.this, for method chainingFullTextSharedSessionBuilder noInterceptor()
SessionBuilderInterceptor should be used.
By default the Interceptor associated with the SessionFactory is passed to the
Session whenever we open one without the user having specified a specific interceptor to
use.
Calling SessionBuilder.interceptor(Interceptor) with null has the same net effect.noInterceptor in interface SessionBuildernoInterceptor in interface SharedSessionBuilderthis, for method chainingFullTextSharedSessionBuilder connection(Connection connection)
SessionBuilderconnection in interface SessionBuilderconnection in interface SharedSessionBuilderconnection - The connection to use.this, for method chainingFullTextSharedSessionBuilder connectionReleaseMode(ConnectionReleaseMode connectionReleaseMode)
SessionBuilderconnectionReleaseMode in interface SessionBuilderconnectionReleaseMode in interface SharedSessionBuilderconnectionReleaseMode - The connection release mode to use.this, for method chainingFullTextSharedSessionBuilder autoJoinTransactions(boolean autoJoinTransactions)
SessionBuilderautoJoinTransactions in interface SessionBuilderautoJoinTransactions in interface SharedSessionBuilderautoJoinTransactions - Should JTA transactions be automatically joinedthis, for method chaining@Deprecated FullTextSharedSessionBuilder autoClose(boolean autoClose)
SessionBuilderautoClose in interface SessionBuilderautoClose in interface SharedSessionBuilderautoClose - Should the session be automatically closedthis, for method chainingFullTextSharedSessionBuilder flushBeforeCompletion(boolean flushBeforeCompletion)
SessionBuilderflushBeforeCompletion in interface SessionBuilderflushBeforeCompletion in interface SharedSessionBuilderflushBeforeCompletion - Should the session be automatically flushedthis, for method chainingFullTextSession openSession()
SessionBuilderopenSession in interface SessionBuilderFullTextSharedSessionBuilder tenantIdentifier(String tenantIdentifier)
SessionBuildertenantIdentifier in interface SessionBuildertenantIdentifier - The tenant identifier.this, for method chainingCopyright © 2017 JBoss by Red Hat. All rights reserved.