public class ConfluenceRdbmsSchemaConnectionProvider extends Object implements cloud.atlassian.rdbms.schema.spi.RdbmsSchemaConnectionProvider
getConnection()
call will create
a new Hibernate Session, which Session.connection()
is used as a delegate
of returned Connection
.
The session and it's connection are in exclusive use of the caller and will be closed upon Connection.close()
Constructor and Description |
---|
ConfluenceRdbmsSchemaConnectionProvider(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
boolean |
isManagedByHost() |
public ConfluenceRdbmsSchemaConnectionProvider(org.hibernate.SessionFactory sessionFactory)
public Connection getConnection() throws SQLException
getConnection
in interface cloud.atlassian.rdbms.schema.spi.RdbmsSchemaConnectionProvider
SQLException
public boolean isManagedByHost()
isManagedByHost
in interface cloud.atlassian.rdbms.schema.spi.RdbmsSchemaConnectionProvider
Copyright © 2003–2017 Atlassian. All rights reserved.