org.nuiton.topia.framework
Class TopiaConnectionProviderHardCoded
java.lang.Object
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
TopiaConnectionProviderHardCoded
public TopiaConnectionProviderHardCoded()
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-2012 CodeLutin. All Rights Reserved.