Package com.axelor.db
Interface JPA.JDBCWork
- All Known Subinterfaces:
JpaSupport.JDBCTask
- Enclosing class:
JPA
public static interface JPA.JDBCWork
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Connection connection) Execute the discrete work encapsulated by this work instance using the supplied connection.
-
Method Details
-
execute
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.
-