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

com.github.rbuck.retry.SqlTransactionContext Maven / Gradle / Ivy

package com.github.rbuck.retry;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * The SQL transaction context for executed actions.
 *
 * @author Robert Buck ([email protected])
 */
public interface SqlTransactionContext {

    /**
     * Get a SQL connection. The caller is responsible for calling Connection.close().
     * 

* This method is guaranteed to not return null. * * @return a SQL connection */ Connection getConnection() throws SQLException; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy