All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.persist.dml.PersistHandler Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
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