当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
JDBCPreloadByPrimaryKeyCommand (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb.plugins.jaws.jdbc
Class JDBCPreloadByPrimaryKeyCommand
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.JDBCPreloadFinderCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCPreloadByPrimaryKeyCommand
- All Implemented Interfaces:
- JPMFindEntitiesCommand
- public class JDBCPreloadByPrimaryKeyCommand
- extends JDBCPreloadFinderCommand
JDBCPreloadByPrimaryKey
This finder be called on when read-ahead is turned on and findByPrimaryKey
is called. It will read-ahead instead of just the old exists logic.
- Version:
- $Revision: 1.3 $
- Author:
- Bill Burke
- See Also:
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand |
getCMPFieldValue, getConnection, getJawsCMPFieldJDBCType, getJDBCType, getJDBCTypeName, getName, 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 |
JDBCPreloadByPrimaryKeyCommand
public JDBCPreloadByPrimaryKeyCommand(JDBCCommandFactory factory)
setParameters
protected void setParameters(PreparedStatement stmt,
Object argOrArgs)
throws Exception
- Description copied from class:
JDBCCommand
- Default implementation does nothing.
Override if parameters need to be set.
- Overrides:
setParameters
in class JDBCPreloadFinderCommand
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.