com.atlassian.confluence.upgrade.recovery
Class HibernateConnectionProvider

java.lang.Object
  extended by com.atlassian.confluence.upgrade.recovery.HibernateConnectionProvider
All Implemented Interfaces:
com.atlassian.dbexporter.ConnectionProvider

public class HibernateConnectionProvider
extends Object
implements com.atlassian.dbexporter.ConnectionProvider

Holder for DB connection that keeps the connection open.

Since:
v5.4

Constructor Summary
HibernateConnectionProvider(Connection connection)
           
 
Method Summary
 Connection getConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateConnectionProvider

public HibernateConnectionProvider(Connection connection)
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface com.atlassian.dbexporter.ConnectionProvider
Throws:
SQLException


Copyright © 2003–2015 Atlassian. All rights reserved.