org.jboss.ejb.plugins.cmp.jdbc.metadata
Interface JDBCQueryMetaData

All Known Implementing Classes:
JDBCAutomaticQueryMetaData, JDBCDeclaredQueryMetaData, JDBCDynamicQLQueryMetaData, JDBCJBossQLQueryMetaData, JDBCQlQueryMetaData, JDBCRawSqlQueryMetaData

public interface JDBCQueryMetaData

This interface is used to identify a query that will be invoked in responce to the invocation of a finder method in a home interface or an ejbSelect method in a bean implementation class.

Version:
$Revision: 1.12.4.1 $
Author:
Dain Sundstrom, Sebastien Alborini, danch, Oleg Nitz

Method Summary
 Method getMethod()
          Gets the method which invokes this query.
 Class getQLCompilerClass()
           
 JDBCReadAheadMetaData getReadAhead()
          Gets the read ahead metadata for the query.
 boolean isLazyResultSetLoading()
           
 boolean isResultTypeMappingLocal()
          Is the result set of ejbSelect is mapped to local ejb objects or remote ejb objects.
 

Method Detail

getMethod

Method getMethod()
Gets the method which invokes this query.

Returns:
the Method object which invokes this query

isResultTypeMappingLocal

boolean isResultTypeMappingLocal()
Is the result set of ejbSelect is mapped to local ejb objects or remote ejb objects.

Returns:
true, if the result set is to be local objects

getReadAhead

JDBCReadAheadMetaData getReadAhead()
Gets the read ahead metadata for the query.

Returns:
the read ahead metadata for the query.

getQLCompilerClass

Class getQLCompilerClass()
Returns:
EJBQL compiler implementation

isLazyResultSetLoading

boolean isLazyResultSetLoading()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.