mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#919 - io.ebean package initial
This commit is contained in:
1 parent
5821dc96b9
commit
971e2dc91b
2134 files changed
+10721
-8652
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package io.ebeaninternal.server.persist;
|
||||
|
||||
/**
|
||||
* Handles the processing required after batch execution.
|
||||
* <p>
|
||||
* This includes concurrency checking, generated keys on inserts, transaction
|
||||
* logging, transaction event table modifcation and for beans resetting their
|
||||
* 'loaded' status.
|
||||
* </p>
|
||||
*/
|
||||
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.
|
||||
* <p>
|
||||
* This includes transaction logging, transaction event table modification
|
||||
* and for beans resetting their 'loaded' status.
|
||||
* </p>
|
||||
*/
|
||||
void postExecute();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user