com.redstarhackers.dal.hibernate3
Class DALConnectionProvider

java.lang.Object
  extended bycom.redstarhackers.dal.hibernate3.DALConnectionProvider
All Implemented Interfaces:
org.hibernate.connection.ConnectionProvider

public class DALConnectionProvider
extends java.lang.Object
implements org.hibernate.connection.ConnectionProvider

TODO Class summary sentence. Class documentation.

Version:
$Revision: 1096 $
Author:
$Author: kostya $

Field Summary
static java.lang.String APP_NAME
           
static java.lang.String CONN_RESOURCE_NAME
           
 
Constructor Summary
DALConnectionProvider()
           
 
Method Summary
 void close()
           
 void closeConnection(java.sql.Connection conn)
           
 void configure(java.util.Properties props)
           
 java.sql.Connection getConnection()
           
 boolean supportsAggressiveRelease()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final java.lang.String APP_NAME
See Also:
Constant Field Values

CONN_RESOURCE_NAME

public static final java.lang.String CONN_RESOURCE_NAME
See Also:
Constant Field Values
Constructor Detail

DALConnectionProvider

public DALConnectionProvider()
Method Detail

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

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