org.javers.repository.sql.ConnectionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-persistence-sql Show documentation
Show all versions of javers-persistence-sql Show documentation
JaVers - object auditing and diff framework for Java
package org.javers.repository.sql;
import java.sql.Connection;
import java.sql.SQLException;
/**
* Implementation should provide working JDBC connection,
* exactly the same which is used by user's application in the current thread.
*
*
* Usually, connections come from some thread-safe connection pool.
*/
public interface ConnectionProvider {
Connection getConnection() throws SQLException;
}