io.ebeaninternal.server.persist.dml.PersistHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
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 - 2025 Weber Informatics LLC | Privacy Policy