1 19 20 package org.apache.cayenne.dba.oracle; 21 22 import java.sql.Connection ; 23 24 import org.apache.cayenne.access.jdbc.SelectAction; 25 import org.apache.cayenne.access.trans.SelectTranslator; 26 import org.apache.cayenne.dba.DbAdapter; 27 import org.apache.cayenne.map.EntityResolver; 28 import org.apache.cayenne.query.SelectQuery; 29 30 34 class OracleSelectAction extends SelectAction { 35 36 public OracleSelectAction(SelectQuery query, DbAdapter adapter, 37 EntityResolver entityResolver) { 38 super(query, adapter, entityResolver); 39 } 40 41 protected SelectTranslator createTranslator(Connection connection) { 42 SelectTranslator translator = new OracleSelectTranslator(); 43 translator.setQuery(query); 44 translator.setAdapter(adapter); 45 translator.setEntityResolver(getEntityResolver()); 46 translator.setConnection(connection); 47 return translator; 48 } 49 } 50 | Popular Tags |