public interface StatelessSessionBuilder
| Modifier and Type | Method and Description |
|---|---|
StatelessSessionBuilder |
connection(java.sql.Connection connection)
Adds a specific connection to the session options.
|
StatelessSession |
openStatelessSession()
Opens a session with the specified options.
|
StatelessSessionBuilder |
tenantIdentifier(java.lang.String tenantIdentifier)
Define the tenant identifier to be associated with the opened session.
|
StatelessSession openStatelessSession()
StatelessSessionBuilder connection(java.sql.Connection connection)
connection - The connection to use.this, for method chainingStatelessSessionBuilder tenantIdentifier(java.lang.String tenantIdentifier)
tenantIdentifier - The tenant identifier.this, for method chainingCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.