@Component public class BambooDatabaseAccessorImpl extends Object implements com.atlassian.pocketknife.api.querydsl.DatabaseAccessor
Constructor and Description |
---|
BambooDatabaseAccessorImpl(com.atlassian.pocketknife.api.querydsl.DatabaseAccessor databaseAccessor) |
Modifier and Type | Method and Description |
---|---|
<T> T |
run(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function) |
<T> T |
runInNewTransaction(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function) |
<T> T |
runInTransaction(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function) |
@Inject public BambooDatabaseAccessorImpl(com.atlassian.pocketknife.api.querydsl.DatabaseAccessor databaseAccessor)
public <T> T runInNewTransaction(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function)
runInNewTransaction
in interface com.atlassian.pocketknife.api.querydsl.DatabaseAccessor
public <T> T runInTransaction(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function)
runInTransaction
in interface com.atlassian.pocketknife.api.querydsl.DatabaseAccessor
public <T> T run(Function<com.atlassian.pocketknife.api.querydsl.DatabaseConnection,T> function)
run
in interface com.atlassian.pocketknife.api.querydsl.DatabaseAccessor
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.