org.sourceforge.bdbadapter.cci
Class ConnectionImpl
java.lang.Object
|
+--org.sourceforge.bdbadapter.cci.ConnectionImpl
- All Implemented Interfaces:
- javax.resource.cci.Connection
- public class ConnectionImpl
- extends java.lang.Object
- implements javax.resource.cci.Connection
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
mc
private ManagedConnectionImpl mc
interaction
private javax.resource.cci.Interaction interaction
ConnectionImpl
ConnectionImpl(ManagedConnectionImpl mc)
setAutoCommit
public void setAutoCommit(boolean b)
throws javax.resource.ResourceException
getAutoCommit
public boolean getAutoCommit()
throws javax.resource.ResourceException
createInteraction
public javax.resource.cci.Interaction createInteraction()
throws javax.resource.ResourceException
- Specified by:
createInteraction
in interface javax.resource.cci.Connection
getLocalTransaction
public javax.resource.cci.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
- Specified by:
getLocalTransaction
in interface javax.resource.cci.Connection
getResultSetInfo
public javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.ResourceException
- Specified by:
getResultSetInfo
in interface javax.resource.cci.Connection
close
public void close()
throws javax.resource.ResourceException
- Specified by:
close
in interface javax.resource.cci.Connection
getMetaData
public javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.cci.Connection
invalidate
void invalidate()
getProperties
java.util.Properties getProperties()
throws javax.resource.ResourceException
getDb
com.sleepycat.db.Db getDb()
throws javax.resource.ResourceException
checkIfValid
void checkIfValid()
throws javax.resource.ResourceException
associateConnection
void associateConnection(ManagedConnectionImpl newMc)
throws javax.resource.ResourceException
getMc
ManagedConnectionImpl getMc()