FlushMode.MANUAL for read-only transactions.
| Access | Constructor and Description |
|---|---|
| public | SpringJtaSessionContext(SessionFactoryImplementor factory)
References Deprecated
SessionFactoryImplementor is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| protected Session | buildOrObtainSession()
Overrides org.
References Deprecated
Session is deprecated or references (maybe indirectly) at least one deprecated element.
Strictly provided for subclassing purposes; specifically to allow long-session support. |
| SpringJtaSessionContext | back to summary |
|---|---|
| public SpringJtaSessionContext(SessionFactoryImplementor factory)
References Deprecated
See corresponding docs for further information. | |
| buildOrObtainSession | back to summary |
|---|---|
| protected Session buildOrObtainSession() Overrides org. Doc from org. References Deprecated
See corresponding docs for further information. Strictly provided for subclassing purposes; specifically to allow long-session support. This implementation always just opens a new session. | |