io.hypersistence.utils.test.transaction.ConnectionTransactionConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypersistence-utils-hibernate-63 Show documentation
Show all versions of hypersistence-utils-hibernate-63 Show documentation
Utilities for Spring and Hibernate ORM 6.3, 6.4, and 6.5
package io.hypersistence.utils.test.transaction;
import java.sql.Connection;
import java.sql.SQLException;
/**
* @author Vlad Mihalcea
*/
@FunctionalInterface
public interface ConnectionTransactionConsumer {
void execute(Connection connection) throws SQLException;
default void beforeTransactionCompletion() {
}
default void afterTransactionCompletion() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy