1 56 package org.objectstyle.cayenne.dba.oracle; 57 58 import org.objectstyle.cayenne.CayenneException; 59 import org.objectstyle.cayenne.access.jdbc.BatchAction; 60 import org.objectstyle.cayenne.access.trans.BatchQueryBuilder; 61 import org.objectstyle.cayenne.dba.DbAdapter; 62 import org.objectstyle.cayenne.map.EntityResolver; 63 import org.objectstyle.cayenne.query.BatchQuery; 64 65 69 class OracleBatchAction extends BatchAction { 70 71 OracleBatchAction(BatchQuery batchQuery, DbAdapter adapter, EntityResolver entityResolver) { 72 super(batchQuery, adapter, entityResolver); 73 } 74 75 protected BatchQueryBuilder createBuilder() throws CayenneException { 76 BatchQueryBuilder builder = super.createBuilder(); 78 builder.setTrimFunction(OracleAdapter.TRIM_FUNCTION); 79 return builder; 80 } 81 } | Popular Tags |