Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.access.jdbc
Class BaseSQLAction

    java.lang.Object
      org.apache.cayenne.access.jdbc.BaseSQLAction

All Implemented Interfaces:
  SQLAction

Direct Known Subclasses:
  BatchAction, ProcedureAction, SelectAction, UpdateAction

    public abstract class BaseSQLAction

extends java.lang.Object
implements SQLAction

A convenience superclass for SQLAction implementations.

Since:
  1.2
Author:
  Andrei Adamchik

Field Summary
`protected DbAdapter` | `adapter`
`protected EntityResolver` | `entityResolver`

Constructor Summary
`BaseSQLAction(DbAdapter adapter, EntityResolver entityResolver)`

Method Summary
`DbAdapter` | `getAdapter()`
`EntityResolver` | `getEntityResolver()`
`protected void` | `readResultSet(java.sql.ResultSet resultSet, RowDescriptor descriptor, Query query, OperationObserver delegate)` Helper method to process a ResultSet.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.apache.cayenne.query.SQLAction
`performAction`

Field Detail

### adapter

    protected DbAdapter adapter

### entityResolver

    protected EntityResolver entityResolver

Constructor Detail

### BaseSQLAction

    public BaseSQLAction(DbAdapter adapter,
                         EntityResolver entityResolver)

Method Detail

### getAdapter

    public DbAdapter getAdapter()

### getEntityResolver

    public EntityResolver getEntityResolver()

### readResultSet

    protected void readResultSet(java.sql.ResultSet resultSet,
                                 RowDescriptor descriptor,
                                 Query query,
                                 OperationObserver delegate)
                          throws java.sql.SQLException,
                                 java.lang.Exception

  Helper method to process a ResultSet.

  Throws:
    `java.sql.SQLException`
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.