mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - format only
This commit is contained in:
1 parent
39cb85fda6
commit
97cd0909e8
10 files changed
+387
-387
No files matched your search
@@ -12,43 +12,42 @@ import com.avaje.ebeaninternal.server.core.PersistRequestUpdateSql;
|
||||
* A Persister 'front-ends' this object and handles the
|
||||
* batching, cascading, concurrency mode detection etc.
|
||||
* </p>
|
||||
*
|
||||
*/
|
||||
public interface PersistExecute {
|
||||
|
||||
/**
|
||||
* Create a BatchControl for the current transaction.
|
||||
*/
|
||||
BatchControl createBatchControl(SpiTransaction t);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) insert.
|
||||
*/
|
||||
<T> void executeInsertBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) update.
|
||||
*/
|
||||
<T> void executeUpdateBean(PersistRequestBean<T> request);
|
||||
/**
|
||||
* Create a BatchControl for the current transaction.
|
||||
*/
|
||||
BatchControl createBatchControl(SpiTransaction t);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) delete.
|
||||
*/
|
||||
<T> void executeDeleteBean(PersistRequestBean<T> request);
|
||||
/**
|
||||
* Execute a Bean (or MapBean) insert.
|
||||
*/
|
||||
<T> void executeInsertBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Update.
|
||||
*/
|
||||
int executeOrmUpdate(PersistRequestOrmUpdate request);
|
||||
|
||||
/**
|
||||
* Execute a CallableSql.
|
||||
*/
|
||||
int executeSqlCallable(PersistRequestCallableSql request);
|
||||
/**
|
||||
* Execute a Bean (or MapBean) update.
|
||||
*/
|
||||
<T> void executeUpdateBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a UpdateSql.
|
||||
*/
|
||||
int executeSqlUpdate(PersistRequestUpdateSql request);
|
||||
/**
|
||||
* Execute a Bean (or MapBean) delete.
|
||||
*/
|
||||
<T> void executeDeleteBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Update.
|
||||
*/
|
||||
int executeOrmUpdate(PersistRequestOrmUpdate request);
|
||||
|
||||
/**
|
||||
* Execute a CallableSql.
|
||||
*/
|
||||
int executeSqlCallable(PersistRequestCallableSql request);
|
||||
|
||||
/**
|
||||
* Execute a UpdateSql.
|
||||
*/
|
||||
int executeSqlUpdate(PersistRequestUpdateSql request);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user