mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup,remove unnecessary public modifier on interfaces
This commit is contained in:
1 parent
f78c217d83
commit
6843c72149
20 files changed
+110
-110
No files matched your search
@@ -19,36 +19,36 @@ public interface PersistExecute {
|
||||
/**
|
||||
* Create a BatchControl for the current transaction.
|
||||
*/
|
||||
public BatchControl createBatchControl(SpiTransaction t);
|
||||
BatchControl createBatchControl(SpiTransaction t);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) insert.
|
||||
*/
|
||||
public <T> void executeInsertBean(PersistRequestBean<T> request);
|
||||
<T> void executeInsertBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) update.
|
||||
*/
|
||||
public <T> void executeUpdateBean(PersistRequestBean<T> request);
|
||||
<T> void executeUpdateBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Bean (or MapBean) delete.
|
||||
*/
|
||||
public <T> void executeDeleteBean(PersistRequestBean<T> request);
|
||||
<T> void executeDeleteBean(PersistRequestBean<T> request);
|
||||
|
||||
/**
|
||||
* Execute a Update.
|
||||
*/
|
||||
public int executeOrmUpdate(PersistRequestOrmUpdate request);
|
||||
int executeOrmUpdate(PersistRequestOrmUpdate request);
|
||||
|
||||
/**
|
||||
* Execute a CallableSql.
|
||||
*/
|
||||
public int executeSqlCallable(PersistRequestCallableSql request);
|
||||
int executeSqlCallable(PersistRequestCallableSql request);
|
||||
|
||||
/**
|
||||
* Execute a UpdateSql.
|
||||
*/
|
||||
public int executeSqlUpdate(PersistRequestUpdateSql request);
|
||||
int executeSqlUpdate(PersistRequestUpdateSql request);
|
||||
|
||||
}
|
||||
@@ -10,25 +10,25 @@ public interface PersistHandler {
|
||||
/**
|
||||
* Return the bind log.
|
||||
*/
|
||||
public String getBindLog();
|
||||
String getBindLog();
|
||||
|
||||
/**
|
||||
* Get the sql and bind the statement.
|
||||
*/
|
||||
public void bind() throws SQLException;
|
||||
void bind() throws SQLException;
|
||||
|
||||
/**
|
||||
* Add this for batch execution.
|
||||
*/
|
||||
public void addBatch() throws SQLException;
|
||||
void addBatch() throws SQLException;
|
||||
|
||||
/**
|
||||
* Execute now for non-batch execution.
|
||||
*/
|
||||
public void execute() throws SQLException;
|
||||
void execute() throws SQLException;
|
||||
|
||||
/**
|
||||
* Close resources including underlying preparedStatement.
|
||||
*/
|
||||
public void close() throws SQLException;
|
||||
void close() throws SQLException;
|
||||
}
|
||||
Reference in new issue
Block a user