FileDocCategorySizeDatePackage
UserSuppliedConnectionProvider.javaAPI DocHibernate 3.2.51531Tue Apr 19 10:39:08 BST 2005org.hibernate.connection

UserSuppliedConnectionProvider

public class UserSuppliedConnectionProvider extends Object implements ConnectionProvider
An implementation of the ConnectionProvider interface that simply throws an exception when a connection is requested. This implementation indicates that the user is expected to supply a JDBC connection.
see
ConnectionProvider
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public voidclose()

	
public voidcloseConnection(java.sql.Connection conn)

see
org.hibernate.connection.ConnectionProvider#closeConnection(Connection)

		throw new UnsupportedOperationException("The user must supply a JDBC connection");
	
public voidconfigure(java.util.Properties props)

see
org.hibernate.connection.ConnectionProvider#configure(Properties)

		LogFactory.getLog(UserSuppliedConnectionProvider.class).warn("No connection properties specified - the user must supply JDBC connections");
	
public java.sql.ConnectiongetConnection()

see
org.hibernate.connection.ConnectionProvider#getConnection()

		throw new UnsupportedOperationException("The user must supply a JDBC connection");
	
public booleansupportsAggressiveRelease()

see
ConnectionProvider#supportsAggressiveRelease()

		return false;