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

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

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.


Method Summary
 java.lang.reflect.Method getMethod()
          Gets the method which invokes this query.
 java.lang.Class getQLCompilerClass()
           
 JDBCReadAheadMetaData (src) 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

public java.lang.reflect.Method getMethod()
Gets the method which invokes this query.

Returns:
the Method object which invokes this query

isResultTypeMappingLocal

public 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

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

Returns:
the read ahead metadata for the query.

getQLCompilerClass

public java.lang.Class getQLCompilerClass()
Returns:
EJBQL compiler implementation

isLazyResultSetLoading

public boolean isLazyResultSetLoading()