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

io.hypersistence.utils.test.transaction.EntityManagerTransactionConsumer Maven / Gradle / Ivy

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