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.ConnectionProvider
net.sf.hibernate.HibernateException
public Connection getConnection() throws SQLException
getConnection
in interface net.sf.hibernate.connection.ConnectionProvider
SQLException
public void closeConnection(Connection conn) throws SQLException
closeConnection
in interface net.sf.hibernate.connection.ConnectionProvider
SQLException
public void close() throws net.sf.hibernate.HibernateException
close
in interface net.sf.hibernate.connection.ConnectionProvider
net.sf.hibernate.HibernateException
Copyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences