站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand
      extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand
JDBCAbstractQueryCommand.LeftJoinCMRNode
 
Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand
log
 
Constructor Summary
JDBCFindByPrimaryKeyQuery(JDBCStoreManager manager, JDBCQueryMetaData q)
           
 
Method Summary
 Collection execute(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory)
           
 
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
 

Constructor Detail

JDBCFindByPrimaryKeyQuery

public JDBCFindByPrimaryKeyQuery(JDBCStoreManager manager,
                                 JDBCQueryMetaData q)
                          throws org.jboss.deployment.DeploymentException
Method Detail

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.