public class JiraHostConnectionAccessor extends Object implements com.atlassian.sal.spi.HostConnectionAccessor
Connection
and optional schema name for use by TransactionalExecutor
Constructor and Description |
---|
JiraHostConnectionAccessor(DatabaseAccessor databaseAccessor) |
Modifier and Type | Method and Description |
---|---|
<A> A |
execute(boolean readOnly,
boolean newTransaction,
com.atlassian.sal.api.rdbms.ConnectionCallback<A> callback) |
com.atlassian.fugue.Option<String> |
getSchemaName() |
public JiraHostConnectionAccessor(DatabaseAccessor databaseAccessor)
public <A> A execute(boolean readOnly, boolean newTransaction, @Nonnull com.atlassian.sal.api.rdbms.ConnectionCallback<A> callback)
execute
in interface com.atlassian.sal.spi.HostConnectionAccessor
Copyright © 2002-2017 Atlassian. All Rights Reserved.