Examples of BatchAction


Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new SQLServerBatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new SQLServerBatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new SQLServerBatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

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

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new BatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.BatchAction

        // optimistic locking is not supported in batches due to JDBC driver limitations
        boolean useOptimisticLock = query.isUsingOptimisticLocking();

        boolean runningAsBatch = !useOptimisticLock && adapter.supportsBatchUpdates();
        BatchAction action = new SQLServerBatchAction(query, adapter, entityResolver);
        action.setBatch(runningAsBatch);
        return action;
    }
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.