com.opensourceconnections.msjdbcproxy
Class HibernateProvider
java.lang.Object
com.opensourceconnections.msjdbcproxy.HibernateProvider
- All Implemented Interfaces:
- org.hibernate.connection.ConnectionProvider
- public class HibernateProvider
- extends java.lang.Object
- implements org.hibernate.connection.ConnectionProvider
- Author:
- Eric Pugh
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateProvider
public HibernateProvider()
configure
public void configure(java.util.Properties props)
throws org.hibernate.HibernateException
- Specified by:
configure
in interface org.hibernate.connection.ConnectionProvider
- Throws:
org.hibernate.HibernateException
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface org.hibernate.connection.ConnectionProvider
- Throws:
java.sql.SQLException
closeConnection
public void closeConnection(java.sql.Connection conn)
throws java.sql.SQLException
- Specified by:
closeConnection
in interface org.hibernate.connection.ConnectionProvider
- Throws:
java.sql.SQLException
finalize
protected void finalize()
throws org.hibernate.HibernateException
- Throws:
org.hibernate.HibernateException
close
public void close()
throws org.hibernate.HibernateException
- Specified by:
close
in interface org.hibernate.connection.ConnectionProvider
- Throws:
org.hibernate.HibernateException
supportsAggressiveRelease
public boolean supportsAggressiveRelease()
- Specified by:
supportsAggressiveRelease
in interface org.hibernate.connection.ConnectionProvider
Copyright © 2002-2005 OpenSource Connections. All Rights Reserved.