org.hibernate.ogm.jdbc
Class NoopConnectionProvider
java.lang.Object
org.hibernate.ogm.jdbc.NoopConnectionProvider
- All Implemented Interfaces:
- ConnectionProvider
public class NoopConnectionProvider
- extends Object
- implements ConnectionProvider
- Author:
- Emmanuel Bernard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopConnectionProvider
public NoopConnectionProvider()
configure
public void configure(Properties props)
throws HibernateException
- Specified by:
configure in interface ConnectionProvider
- Throws:
HibernateException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface ConnectionProvider
- Throws:
SQLException
closeConnection
public void closeConnection(Connection conn)
throws SQLException
- Specified by:
closeConnection in interface ConnectionProvider
- Throws:
SQLException
close
public void close()
throws HibernateException
- Specified by:
close in interface ConnectionProvider
- Throws:
HibernateException
supportsAggressiveRelease
public boolean supportsAggressiveRelease()
- Specified by:
supportsAggressiveRelease in interface ConnectionProvider
Copyright © 2010-2011 Red Hat Middleware, LLC, Emmanuel Bernard and various contributors. All Rights Reserved