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

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

The newest version!
package io.hypersistence.utils.test.transaction;

import org.hibernate.Session;

import java.util.function.Consumer;

/**
 * @author Vlad Mihalcea
 */
@FunctionalInterface
public interface SessionTransactionConsumer extends Consumer {
    default void beforeTransactionCompletion() {

    }

    default void afterTransactionCompletion() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy