net.wotonomy.jdbcadaptor
Class JDBCChannel
java.lang.Object
net.wotonomy.access.EOAdaptorChannel
net.wotonomy.jdbcadaptor.JDBCChannel
public class JDBCChannel
- extends net.wotonomy.access.EOAdaptorChannel
Concrete implementation of EOAdaptorChannel for use with JDBC.
- Version:
- $Revision: 903 $
- Author:
- ezamudio@nasoft.com, $Author: cgruber $
Fields inherited from class net.wotonomy.access.EOAdaptorChannel |
_context |
Methods inherited from class net.wotonomy.access.EOAdaptorChannel |
adaptorContext, addStoredProceduresNamed, deleteRowDescribedByQualifier, describeModelWithTableNames, describeStoredProcedureNames, describeTableNames, dictionaryWithObjectsForAttributes, lockRowComparingAttributes, performAdaptorOperation, performAdaptorOperations, primaryKeysForNewRowsWithEntity, updateValuesInRowDescribedByQualifier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_fetchInProgress
protected boolean _fetchInProgress
_resultSet
protected java.sql.ResultSet _resultSet
_statement
protected java.sql.Statement _statement
_attsToFetch
protected net.wotonomy.foundation.NSArray _attsToFetch
_resultAttributes
protected net.wotonomy.foundation.NSArray _resultAttributes
_transactionWasOpen
protected boolean _transactionWasOpen
_spReturnValues
protected net.wotonomy.foundation.NSDictionary _spReturnValues
_resultCount
protected int _resultCount
JDBCChannel
public JDBCChannel(JDBCContext context)
- Creates a new JDBCChannel.
- Parameters:
context
- The JDBCContext this channel belongs to.
_context
protected JDBCContext _context()
setAttributesToFetch
public void setAttributesToFetch(net.wotonomy.foundation.NSArray atts)
- Specified by:
setAttributesToFetch
in class net.wotonomy.access.EOAdaptorChannel
attributesToFetch
public net.wotonomy.foundation.NSArray attributesToFetch()
- Specified by:
attributesToFetch
in class net.wotonomy.access.EOAdaptorChannel
cancelFetch
public void cancelFetch()
- Specified by:
cancelFetch
in class net.wotonomy.access.EOAdaptorChannel
closeChannel
public void closeChannel()
- Specified by:
closeChannel
in class net.wotonomy.access.EOAdaptorChannel
describeResults
public net.wotonomy.foundation.NSArray describeResults()
- Specified by:
describeResults
in class net.wotonomy.access.EOAdaptorChannel
deleteRowsDescribedByQualifier
public int deleteRowsDescribedByQualifier(net.wotonomy.control.EOQualifier q,
net.wotonomy.access.EOEntity entity)
- Specified by:
deleteRowsDescribedByQualifier
in class net.wotonomy.access.EOAdaptorChannel
evaluateExpression
public void evaluateExpression(net.wotonomy.access.EOSQLExpression sql)
- Specified by:
evaluateExpression
in class net.wotonomy.access.EOAdaptorChannel
executeStoredProcedure
public void executeStoredProcedure(net.wotonomy.access.EOStoredProcedure proc,
net.wotonomy.foundation.NSDictionary values)
- Specified by:
executeStoredProcedure
in class net.wotonomy.access.EOAdaptorChannel
fetchRow
public net.wotonomy.foundation.NSMutableDictionary fetchRow()
- Specified by:
fetchRow
in class net.wotonomy.access.EOAdaptorChannel
insertRow
public void insertRow(net.wotonomy.foundation.NSDictionary row,
net.wotonomy.access.EOEntity entity)
- Specified by:
insertRow
in class net.wotonomy.access.EOAdaptorChannel
isFetchInProgress
public boolean isFetchInProgress()
- Specified by:
isFetchInProgress
in class net.wotonomy.access.EOAdaptorChannel
isOpen
public boolean isOpen()
- Specified by:
isOpen
in class net.wotonomy.access.EOAdaptorChannel
openChannel
public void openChannel()
- Specified by:
openChannel
in class net.wotonomy.access.EOAdaptorChannel
returnValuesForLastStoredProcedureInvocation
public net.wotonomy.foundation.NSDictionary returnValuesForLastStoredProcedureInvocation()
- Specified by:
returnValuesForLastStoredProcedureInvocation
in class net.wotonomy.access.EOAdaptorChannel
selectAttributes
public void selectAttributes(net.wotonomy.foundation.NSArray atts,
net.wotonomy.control.EOFetchSpecification fspec,
boolean lock,
net.wotonomy.access.EOEntity entity)
- Specified by:
selectAttributes
in class net.wotonomy.access.EOAdaptorChannel
updateValuesInRowsDescribedByQualifier
public int updateValuesInRowsDescribedByQualifier(net.wotonomy.foundation.NSDictionary row,
net.wotonomy.control.EOQualifier q,
net.wotonomy.access.EOEntity entity)
- Specified by:
updateValuesInRowsDescribedByQualifier
in class net.wotonomy.access.EOAdaptorChannel
conditionalBeginTransaction
protected void conditionalBeginTransaction()
conditionalCommitTransaction
protected void conditionalCommitTransaction()
Copyright © 2006 null. All Rights Reserved.