org.jboss.ejb.plugins.jaws.jdbc
Class JDBCFindByCommand

java.lang.Object
  |
  +--org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
        |
        +--org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand
              |
              +--org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
                    |
                    +--org.jboss.ejb.plugins.jaws.jdbc.JDBCFindByCommand
All Implemented Interfaces:
JPMFindEntitiesCommand

public class JDBCFindByCommand
extends JDBCFinderCommand

JAWSPersistenceManager JDBCFindByCommand

Version:
$Revision: 1.7 $
Author:
Rickard Öberg, Marc Fleury, Joe Shevland, Justin Forder
See Also:

Fields inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
debug, factory, jawsEntity, log, name
 
Constructor Summary
JDBCFindByCommand(JDBCCommandFactory factory, java.lang.reflect.Method finderMethod)
           
 
Method Summary
protected  void setParameters(java.sql.PreparedStatement stmt, java.lang.Object argOrArgs)
          Default implementation does nothing.
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand
execute, handleResult
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand
executeStatementAndHandleResult
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
getCMPFieldValue, getConnection, getJawsCMPFieldJDBCType, getJDBCType, getJDBCTypeName, getPkColumnList, getPkColumnWhereList, getPkFieldValue, getResultObject, getResultObject, getSQL, getState, isBinaryType, jdbcExecute, setCMPFieldValue, setParameter, setPrimaryKeyParameters, setSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCFindByCommand

public JDBCFindByCommand(JDBCCommandFactory factory,
                         java.lang.reflect.Method finderMethod)
                  throws java.lang.IllegalArgumentException
Method Detail

setParameters

protected void setParameters(java.sql.PreparedStatement stmt,
                             java.lang.Object argOrArgs)
                      throws java.lang.Exception
Description copied from class: JDBCCommand
Default implementation does nothing. Override if parameters need to be set.
Overrides:
setParameters in class JDBCCommand
Following copied from class: org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
Parameters:
stmt - the PreparedStatement which will be executed by this Command.
argOrArgs - argument or array of arguments passed in from subclass execute method.
Throws:
java.lang.Exception - if parameter setting fails.


Copyright © 2000 The JBoss Organization. All Rights Reserved.