public class SessionOnlyTransaction extends java.lang.Object
An implementation that provides Session only transaction management. Essentially when rollback() is called the Session's clear() method is called and when commit() is called the flush() method is called.
No other resource level transaction management is provided.
Constructor and description |
---|
SessionOnlyTransaction
(T nativeInterface, Session session) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
commit() |
|
T |
getNativeTransaction() |
|
boolean |
isActive() |
|
void |
rollback() |
|
void |
setTimeout(int timeout) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |