org.nuiton.topia.framework
Class TopiaConnectionProviderHardCoded

java.lang.Object
  extended by org.nuiton.topia.framework.TopiaConnectionProviderHardCoded
All Implemented Interfaces:
org.hibernate.connection.ConnectionProvider

public class TopiaConnectionProviderHardCoded
extends Object
implements org.hibernate.connection.ConnectionProvider

Customized connection provider.

Since:
2.5.3
Author:
tchemit

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

Constructor Detail

TopiaConnectionProviderHardCoded

public TopiaConnectionProviderHardCoded()
Method Detail

configure

public void configure(Properties props)
               throws org.hibernate.HibernateException
Specified by:
configure in interface org.hibernate.connection.ConnectionProvider
Throws:
org.hibernate.HibernateException

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface org.hibernate.connection.ConnectionProvider
Throws:
SQLException

closeConnection

public void closeConnection(Connection conn)
                     throws SQLException
Specified by:
closeConnection in interface org.hibernate.connection.ConnectionProvider
Throws:
SQLException

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

close

public void close()
Specified by:
close in interface org.hibernate.connection.ConnectionProvider

supportsAggressiveRelease

public boolean supportsAggressiveRelease()
Specified by:
supportsAggressiveRelease in interface org.hibernate.connection.ConnectionProvider


Copyright © 2004-2011 CodeLutin. All Rights Reserved.