| Package | Description | 
|---|---|
| org.hibernate | 
 
        This package defines the central Hibernate APIs. 
 | 
| org.hibernate.engine.spi | |
| org.hibernate.internal | 
 
    An internal package containing mostly implementations of central Hibernate APIs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SharedSessionBuilder | 
SharedSessionBuilder.autoClose()
Deprecated. 
 
For same reasons as  
SessionBuilder.autoClose(boolean) was deprecated.  However, shared
 session builders can use autoClose(boolean) since they do not "inherit" the owner. | 
SharedSessionBuilder | 
SharedSessionBuilder.autoClose(boolean autoClose)  | 
SharedSessionBuilder | 
SharedSessionBuilder.autoJoinTransactions()
Signifies that the autoJoinTransaction flag from the original session should be used to create the new session. 
 | 
SharedSessionBuilder | 
SharedSessionBuilder.autoJoinTransactions(boolean autoJoinTransactions)  | 
SharedSessionBuilder | 
SharedSessionBuilder.connection()
Signifies that the connection from the original session should be used to create the new session. 
 | 
SharedSessionBuilder | 
SharedSessionBuilder.connection(Connection connection)  | 
SharedSessionBuilder | 
SharedSessionBuilder.connectionReleaseMode()
Signifies that the connection release mode from the original session should be used to create the new session. 
 | 
SharedSessionBuilder | 
SharedSessionBuilder.connectionReleaseMode(ConnectionReleaseMode connectionReleaseMode)  | 
SharedSessionBuilder | 
SharedSessionBuilder.flushBeforeCompletion()
Signifies that the flushBeforeCompletion flag from the original session should be used to create the new session. 
 | 
SharedSessionBuilder | 
SharedSessionBuilder.flushBeforeCompletion(boolean flushBeforeCompletion)  | 
SharedSessionBuilder | 
SharedSessionBuilder.interceptor()
Signifies the interceptor from the original session should be used to create the new session. 
 | 
SharedSessionBuilder | 
SharedSessionBuilder.interceptor(Interceptor interceptor)  | 
SharedSessionBuilder | 
SharedSessionBuilder.noInterceptor()  | 
SharedSessionBuilder | 
Session.sessionWithOptions()
Obtain a  
Session builder with the ability to grab certain information from this session. | 
SharedSessionBuilder | 
SharedSessionBuilder.transactionContext()
Signifies that the transaction context from the original session should be used to create the new session. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SharedSessionBuilder | 
SessionDelegatorBaseImpl.sessionWithOptions()  | 
| Modifier and Type | Method and Description | 
|---|---|
SharedSessionBuilder | 
SessionImpl.sessionWithOptions()  | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.