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