public abstract class BaseSQLAction extends Object implements SQLAction
Modifier and Type | Field and Description |
---|---|
protected JdbcAdapter |
adapter |
protected EntityResolver |
entityResolver |
Constructor and Description |
---|
BaseSQLAction(JdbcAdapter adapter,
EntityResolver entityResolver) |
Modifier and Type | Method and Description |
---|---|
JdbcAdapter |
getAdapter() |
EntityResolver |
getEntityResolver() |
protected int |
getInMemoryOffset(int queryOffset)
Returns a value of the offset that will be used to rewind the ResultSet within the
SQL action before reading the result rows.
|
protected void |
readResultSet(ResultSet resultSet,
RowDescriptor descriptor,
Query query,
OperationObserver delegate)
Helper method to process a ResultSet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
performAction
protected JdbcAdapter adapter
protected EntityResolver entityResolver
public BaseSQLAction(JdbcAdapter adapter, EntityResolver entityResolver)
public JdbcAdapter getAdapter()
public EntityResolver getEntityResolver()
protected void readResultSet(ResultSet resultSet, RowDescriptor descriptor, Query query, OperationObserver delegate) throws SQLException, Exception
SQLException
Exception
protected int getInMemoryOffset(int queryOffset)
Copyright © 2001–2018 Apache Cayenne. All rights reserved.