package io.ebeaninternal.server.persist.dml;
import java.sql.SQLException;
Implementation API for insert update and delete handlers.
/**
* Implementation API for insert update and delete handlers.
*/
interface PersistHandler {
Get the sql and bind the statement.
/**
* Get the sql and bind the statement.
*/
void bind() throws SQLException;
Add this for batch execution.
/**
* Add this for batch execution.
*/
void addBatch() throws SQLException;
Execute now for non-batch execution.
/**
* Execute now for non-batch execution.
*/
int execute() throws SQLException;
Execute now for non-batch with timing.
/**
* Execute now for non-batch with timing.
*/
int executeNoBatch() throws SQLException;
Close resources including underlying preparedStatement.
/**
* Close resources including underlying preparedStatement.
*/
void close();
}