public class ConfluenceSharedConnectionProvider extends Object implements net.sf.hibernate.connection.ConnectionProvider
ConnectionProvider,
ConfluenceConnectionProviderSupplier,
SessionFactory| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_PROVIDER_ATTRIBUTE |
| Constructor and Description |
|---|
ConfluenceSharedConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeConnection(Connection conn) |
void |
configure(Properties props) |
Connection |
getConnection() |
public static final String CONNECTION_PROVIDER_ATTRIBUTE
public void configure(Properties props) throws net.sf.hibernate.HibernateException
configure in interface net.sf.hibernate.connection.ConnectionProvidernet.sf.hibernate.HibernateExceptionpublic Connection getConnection() throws SQLException
getConnection in interface net.sf.hibernate.connection.ConnectionProviderSQLExceptionpublic void closeConnection(Connection conn) throws SQLException
closeConnection in interface net.sf.hibernate.connection.ConnectionProviderSQLExceptionpublic void close()
throws net.sf.hibernate.HibernateException
close in interface net.sf.hibernate.connection.ConnectionProvidernet.sf.hibernate.HibernateExceptionCopyright © 2003–2016 Atlassian. All rights reserved.