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

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

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