1 56 package org.objectstyle.cayenne.dba.oracle; 57 58 import java.sql.Connection ; 59 60 import org.objectstyle.cayenne.access.jdbc.SelectAction; 61 import org.objectstyle.cayenne.access.trans.SelectTranslator; 62 import org.objectstyle.cayenne.dba.DbAdapter; 63 import org.objectstyle.cayenne.map.EntityResolver; 64 import org.objectstyle.cayenne.query.SelectQuery; 65 66 70 class OracleSelectAction extends SelectAction { 71 72 public OracleSelectAction(SelectQuery query, DbAdapter adapter, 73 EntityResolver entityResolver) { 74 super(query, adapter, entityResolver); 75 } 76 77 protected SelectTranslator createTranslator(Connection connection) { 78 SelectTranslator translator = new OracleSelectTranslator(); 79 translator.setQuery(query); 80 translator.setAdapter(adapter); 81 translator.setEntityResolver(getEntityResolver()); 82 translator.setConnection(connection); 83 return translator; 84 } 85 } 86 | Popular Tags |