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,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
<A> A |
execute(boolean readOnly,
boolean newTransaction,
com.atlassian.sal.api.rdbms.ConnectionCallback<A> callback) |
io.atlassian.fugue.Option<String> |
getSchemaName() |
public JiraHostConnectionAccessor(DatabaseAccessor databaseAccessor, FeatureManager featureManager)
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-2021 Atlassian. All Rights Reserved.