public class HibernateConnectionProvider
extends java.lang.Object
DriverManagerConnectionProvider
class
in order to be used inside an Eclipse based environment like Jaspersoft Studio.
This connection provider does NOT USE the DriverManager
.
A rudimentary connection pool is implemented like in the original class.Constructor and Description |
---|
HibernateConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeConnection(java.sql.Connection conn) |
void |
configure(java.util.Properties props) |
java.sql.Connection |
getConnection() |
boolean |
supportsAggressiveRelease() |
public void configure(java.util.Properties props) throws HibernateException
HibernateException
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
public void closeConnection(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public void close()
public boolean supportsAggressiveRelease()
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com