io.ebeaninternal.server.persist.BatchPostExecute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.persist;
/**
* Handles the processing required after batch execution.
*
* This includes concurrency checking, generated keys on inserts, transaction
* logging, transaction event table modifcation and for beans resetting their
* 'loaded' status.
*
*/
public interface BatchPostExecute {
/**
* Check that the rowCount is correct for this execute. This is for
* performing concurrency checking in batch execution.
*/
void checkRowCount(int rowCount);
/**
* For inserts with generated keys. Otherwise not used.
*/
void setGeneratedKey(Object idValue);
/**
* Execute the post execute processing.
*
* This includes transaction logging, transaction event table modification
* and for beans resetting their 'loaded' status.
*
*/
void postExecute();
/**
* Add as event to the profiling.
*/
void profile(long offset, int batchSize);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy