当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
JDBCFindByPrimaryKeyQuery (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc
Class JDBCFindByPrimaryKeyQuery
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery
- All Implemented Interfaces:
- JDBCQueryCommand
- public final class JDBCFindByPrimaryKeyQuery
- extends JDBCAbstractQueryCommand
JDBCBeanExistsCommand is a JDBC query that checks if an id exists
in the database. This is used by the create and findByPrimaryKey
code.
- Version:
- $Revision: 1.11 $
- Author:
- Dain Sundstrom, Marc Fleury, Justin Forder, Alex Loubyansky
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand |
appendLeftJoinCMRColumnNames, execute, getEagerLoadGroup, getEagerLoadMask, getLeftJoinCMRNodes, getLog, getSelectEntity, getSelectField, getSelectManager, leftJoinCMRNodes, parseParameters, setEagerLoadGroup, setLimitParam, setLimitValue, setOffsetParam, setOffsetValue, setOnFindCMRList, setParameterList, setSelectEntity, setSelectField, setSelectFunction, setSQL, toInt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCFindByPrimaryKeyQuery
public JDBCFindByPrimaryKeyQuery(JDBCStoreManager manager,
JDBCQueryMetaData q)
throws org.jboss.deployment.DeploymentException
execute
public Collection execute(Method finderMethod,
Object[] args,
EntityEnterpriseContext ctx,
GenericEntityObjectFactory factory)
throws javax.ejb.FinderException
- Specified by:
execute
in interface JDBCQueryCommand
- Overrides:
execute
in class JDBCAbstractQueryCommand
- Throws:
javax.ejb.FinderException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.