Package org.apache.cayenne.access.jdbc

Examples of org.apache.cayenne.access.jdbc.BatchAction.performAction()


        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, getAdapter(), getEntityResolver());
        action.setBatch(runningAsBatch);
        action.performAction(connection, observer);
    }

    /**
     * Executes batch query using JDBC Statement batching features.
     *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.