Package com.axelor.db

Interface JPA.JDBCWork

All Known Subinterfaces:
JpaSupport.JDBCTask
Enclosing class:
JPA

public static interface JPA.JDBCWork
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Connection connection)
    Execute the discrete work encapsulated by this work instance using the supplied connection.
  • Method Details

    • execute

      void execute(Connection connection) throws SQLException
      Execute the discrete work encapsulated by this work instance using the supplied connection.

      Generally, you should not close the connection as it's being used by the current EntityManager.

      Parameters:
      connection - The connection on which to perform the work.
      Throws:
      SQLException - Thrown during execution of the underlying JDBC interaction.