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

org.cloudgraph.rdb.connect.ConnectionProvider Maven / Gradle / Ivy

Go to download

CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.

There is a newer version: 2.0.5
Show newest version
package org.cloudgraph.rdb.connect;

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

/**
 * Supplies connections from a source pool or data source. Connections should always be closed 
 * after use. 
 */
public interface ConnectionProvider {
	
	/**
	 * Returns a connection from an underlying pool or data source. Connections should always be closed 
     * after use. 
	 * @return the connection
	 * @throws SQLException
	 */
	public Connection getConnection() throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy