net.wotonomy.jdbcadaptor
Class JDBCContext
java.lang.Object
net.wotonomy.access.EOAdaptorContext
net.wotonomy.jdbcadaptor.JDBCContext
public class JDBCContext
- extends net.wotonomy.access.EOAdaptorContext
Concrete implementation of EOAdaptorContext for use with JDBC.
- Version:
- $Revision: 903 $
- Author:
- ezamudio@nasoft.com, $Author: cgruber $
Fields inherited from class net.wotonomy.access.EOAdaptorContext |
_adaptor, _channels, _hasOpenTransaction, AdaptorContextBeginTransactionNotification, AdaptorContextCommitTransactionNotification, AdaptorContextRollbackTransactionNotification |
Constructor Summary |
JDBCContext(net.wotonomy.access.EOAdaptor adaptor)
Creates a new instance. |
Methods inherited from class net.wotonomy.access.EOAdaptorContext |
adaptor, channels, hasBusyChannels, hasOpenChannels, hasOpenTransaction, transactionDidBegin, transactionDidCommit, transactionDidRollback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_jdbcConnection
protected java.sql.Connection _jdbcConnection
JDBCContext
public JDBCContext(net.wotonomy.access.EOAdaptor adaptor)
- Creates a new instance.
- Parameters:
adaptor
- The adaptor this context belongs to.
connect
public void connect()
throws JDBCAdaptorException
- Throws:
JDBCAdaptorException
disconnect
public void disconnect()
throws JDBCAdaptorException
- Throws:
JDBCAdaptorException
connection
public java.sql.Connection connection()
beginTransaction
public void beginTransaction()
- Specified by:
beginTransaction
in class net.wotonomy.access.EOAdaptorContext
commitTransaction
public void commitTransaction()
- Specified by:
commitTransaction
in class net.wotonomy.access.EOAdaptorContext
rollbackTransaction
public void rollbackTransaction()
- Specified by:
rollbackTransaction
in class net.wotonomy.access.EOAdaptorContext
createAdaptorChannel
public net.wotonomy.access.EOAdaptorChannel createAdaptorChannel()
- Specified by:
createAdaptorChannel
in class net.wotonomy.access.EOAdaptorContext
handleDroppedConnection
public void handleDroppedConnection()
- Specified by:
handleDroppedConnection
in class net.wotonomy.access.EOAdaptorContext
Copyright © 2006 null. All Rights Reserved.