io.hypersistence.utils.test.transaction.EntityManagerTransactionConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypersistence-utils-hibernate-62 Show documentation
Show all versions of hypersistence-utils-hibernate-62 Show documentation
Utilities for Spring and Hibernate ORM 6.2 or newer
package io.hypersistence.utils.test.transaction;
import jakarta.persistence.EntityManager;
import java.util.function.Consumer;
/**
* @author Vlad Mihalcea
*/
@FunctionalInterface
public interface EntityManagerTransactionConsumer extends Consumer {
default void beforeTransactionCompletion() {
}
default void afterTransactionCompletion() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy