/** * Constructs a JDBCQlQueryMetaData which is defined by the queryMetaData * and is invoked by the specified method. * * @param queryMetaData the metadata about this query which was loaded * from the ejb-jar.xml file * @param method the method which invokes this query */ public JDBCQlQueryMetaData(QueryMetaData queryMetaData, Method method, Class qlCompiler, boolean lazyResultSetLoading) { this.method = method; this.readAhead = JDBCReadAheadMetaData.DEFAULT; ejbQl = queryMetaData.getEjbQl(); resultTypeMappingLocal = queryMetaData.getResultTypeMapping().equals(QueryMetaData.LOCAL); compiler = qlCompiler; this.lazyResultSetLoading = lazyResultSetLoading; }