1 2 12 package com.versant.core.jdbc.ejbql; 13 14 import com.versant.core.jdbc.query.JdbcCompiledQuery; 15 import com.versant.core.jdbc.fetch.FetchSpec; 16 import com.versant.core.metadata.ClassMetaData; 17 import com.versant.core.jdo.QueryDetails; 18 19 24 public class JdbcCompiledQueryEJBQL extends JdbcCompiledQuery { 25 26 private FetchSpec fetchSpec; 27 28 public JdbcCompiledQueryEJBQL(ClassMetaData cmd, QueryDetails queryParams, 29 FetchSpec fetchSpec) { 30 super(cmd, queryParams); 31 this.fetchSpec = fetchSpec; 32 unique = QueryDetails.FALSE; 33 } 34 35 public boolean isEJBQLHack() { 36 return true; 37 } 38 39 public FetchSpec getFetchSpec() { 40 return fetchSpec; 41 } 42 43 } 44 45 | Popular Tags |