org.hibernate.ogm.jdbc
Class NoopConnectionProvider

java.lang.Object
  extended by org.hibernate.ogm.jdbc.NoopConnectionProvider
All Implemented Interfaces:
ConnectionProvider

public class NoopConnectionProvider
extends Object
implements ConnectionProvider

Author:
Emmanuel Bernard

Constructor Summary
NoopConnectionProvider()
           
 
Method Summary
 void close()
           
 void closeConnection(Connection conn)
           
 void configure(Properties props)
           
 Connection getConnection()
           
 boolean supportsAggressiveRelease()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopConnectionProvider

public NoopConnectionProvider()
Method Detail

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