Package org.eclipse.rdf4j.spring.tx
Class TransactionObject
java.lang.Object
org.eclipse.rdf4j.spring.tx.TransactionObject
- All Implemented Interfaces:
Flushable
,org.springframework.transaction.support.SmartTransactionObject
public class TransactionObject
extends Object
implements org.springframework.transaction.support.SmartTransactionObject
- Since:
- 4.0.0
- Author:
- ameingast@gmail.com, Florian Kleedorfer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
int
getName()
int
int
boolean
boolean
boolean
void
setExisting
(boolean existing) void
setIsolationLevel
(int isolationLevel) void
void
setPropagationBehavior
(int propagationBehavior) void
setReadOnly
(boolean readOnly) void
setRollbackOnly
(boolean rollbackOnly) void
setTimeout
(int timeout) toString()
void
-
Constructor Details
-
TransactionObject
-
-
Method Details
-
getConnection
-
wrapConnection
-
setExisting
public void setExisting(boolean existing) -
isExisting
public boolean isExisting() -
getName
-
setName
-
isRollbackOnly
public boolean isRollbackOnly()- Specified by:
isRollbackOnly
in interfaceorg.springframework.transaction.support.SmartTransactionObject
-
setRollbackOnly
public void setRollbackOnly(boolean rollbackOnly) -
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
getIsolationLevel
public int getIsolationLevel() -
setIsolationLevel
public void setIsolationLevel(int isolationLevel) -
getPropagationBehavior
public int getPropagationBehavior() -
setPropagationBehavior
public void setPropagationBehavior(int propagationBehavior) -
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
flush
public void flush() -
toString
-