com.triactive.jdo
Interface Transaction

All Superinterfaces:
javax.jdo.Transaction

public interface Transaction
extends javax.jdo.Transaction


Method Summary
 java.sql.Connection getConnection(boolean forWriting)
           
 int getFetchSize()
           
 int getResultSetType()
           
 int getTransactionIsolation()
           
 void releaseConnection(java.sql.Connection conn)
           
 void setFetchSize(int fetchSize)
           
 void setResultSetType(int resultSetType)
           
 void setTransactionIsolation(int isolationLevel)
           
 boolean useUpdateLockOnFetch()
           
 
Methods inherited from interface javax.jdo.Transaction
begin, commit, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManager, getRestoreValues, getRetainValues, getSynchronization, isActive, rollback, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, setSynchronization
 

Method Detail

getConnection

public java.sql.Connection getConnection(boolean forWriting)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

releaseConnection

public void releaseConnection(java.sql.Connection conn)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getTransactionIsolation

public int getTransactionIsolation()

setTransactionIsolation

public void setTransactionIsolation(int isolationLevel)

getResultSetType

public int getResultSetType()

setResultSetType

public void setResultSetType(int resultSetType)

getFetchSize

public int getFetchSize()

setFetchSize

public void setFetchSize(int fetchSize)

useUpdateLockOnFetch

public boolean useUpdateLockOnFetch()


Copyright © 2001-2007 The TJDO Project All Rights Reserved.