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

## org.apache.cayenne.dba.sqlserver
Class SQLServerProcedureAction

    java.lang.Object
      org.apache.cayenne.access.jdbc.BaseSQLAction
          org.apache.cayenne.access.jdbc.ProcedureAction
              org.apache.cayenne.dba.sqlserver.SQLServerProcedureAction

All Implemented Interfaces:
  SQLAction

    public class SQLServerProcedureAction

extends ProcedureAction

ProcedureAction for SQLServer MS JDBC driver. Customizes OUT parameter processing - it has to be done AFTER the ResultSets are read (note that jTDS driver works fine with normal ProcedureAction).

See JIRA CAY-251 for details.

Since:
  1.2
Author:
  Andrus Adamchik

Field Summary

Fields inherited from class org.apache.cayenne.access.jdbc.ProcedureAction
`processedResultSets, query`

Fields inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
`adapter, entityResolver`

Constructor Summary
`SQLServerProcedureAction(ProcedureQuery query, DbAdapter adapter, EntityResolver entityResolver)`

Method Summary
`void` | `performAction(Connection connection, OperationObserver observer)` Executes a query using a strategy defined by the implementation.

Methods inherited from class org.apache.cayenne.access.jdbc.ProcedureAction
`createTranslator, describeResultSet, getProcedure, readProcedureOutParameters`

Methods inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
`getAdapter, getEntityResolver, readResultSet`

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

Constructor Detail

### SQLServerProcedureAction

    public SQLServerProcedureAction(ProcedureQuery query,
                                    DbAdapter adapter,
                                    EntityResolver entityResolver)

Method Detail

### performAction

    public void performAction(Connection connection,
                              OperationObserver observer)
                       throws SQLException,
                              Exception

  Description copied from interface: `SQLAction`
  Executes a query using a strategy defined by the implementation.

  Specified by:
    `performAction` in interface `SQLAction`
  Overrides:
    `performAction` in class `ProcedureAction`
  Throws:
    `SQLException`
    `Exception`

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

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.