org.apache.cayenne.access.jdbc
Class BaseSQLAction
java.lang.Object
org.apache.cayenne.access.jdbc.BaseSQLAction
- All Implemented Interfaces:
- SQLAction
- Direct Known Subclasses:
- BatchAction, EJBQLAction, ProcedureAction, SelectAction, UpdateAction
public abstract class BaseSQLAction
- extends Object
- implements SQLAction
A convenience superclass for SQLAction implementations.
- Since:
- 1.2
- Author:
- Andrus Adamchik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adapter
protected DbAdapter adapter
entityResolver
protected EntityResolver entityResolver
BaseSQLAction
public BaseSQLAction(DbAdapter adapter,
EntityResolver entityResolver)
getAdapter
public DbAdapter getAdapter()
getEntityResolver
public EntityResolver getEntityResolver()
readResultSet
protected void readResultSet(ResultSet resultSet,
RowDescriptor descriptor,
Query query,
OperationObserver delegate)
throws SQLException,
Exception
- Helper method to process a ResultSet.
- Throws:
SQLException
Exception
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.