public interface AgroalConnectionFactoryConfiguration
Modifier and Type | Interface and Description |
---|---|
static interface |
AgroalConnectionFactoryConfiguration.IsolationLevel
Interface to define the transaction isolation level.
|
static class |
AgroalConnectionFactoryConfiguration.TransactionIsolation
The default transaction isolation levels, defined in
Connection . |
Modifier and Type | Method and Description |
---|---|
boolean |
autoCommit()
If connections should have the auto-commit mode on by default.
|
Class<?> |
connectionProviderClass()
JDBC driver class to use as a supplier of connections.
|
Collection<Object> |
credentials()
Collection of evidence used for authentication.
|
String |
initialSql()
A SQL command to be executed when a connection is created.
|
Properties |
jdbcProperties()
Other unspecified properties to be passed into the JDBC driver when creating new connections.
|
AgroalConnectionFactoryConfiguration.IsolationLevel |
jdbcTransactionIsolation()
The isolation level between database transactions.
|
String |
jdbcUrl()
The database URL to connect to.
|
Principal |
principal()
Entity to be authenticated in the database.
|
Collection<Object> |
recoveryCredentials()
Collection of evidence used for authentication for recovery connections.
|
Principal |
recoveryPrincipal()
Entity to be authenticated in the database for recovery connections.
|
Collection<AgroalSecurityProvider> |
securityProviders()
A collection of providers that are capable of handling principal / credential objects
|
boolean |
trackJdbcResources()
|
boolean autoCommit()
boolean trackJdbcResources()
String jdbcUrl()
String initialSql()
Class<?> connectionProviderClass()
Driver
, DataSource
or XADataSource
.
Can be null, in which case the driver will be obtained from the URL (using the DriverManager.getDriver(String)
mechanism).AgroalConnectionFactoryConfiguration.IsolationLevel jdbcTransactionIsolation()
Collection<AgroalSecurityProvider> securityProviders()
Principal principal()
Collection<Object> credentials()
Principal recoveryPrincipal()
Collection<Object> recoveryCredentials()
Properties jdbcProperties()
Copyright © 2021 JBoss by Red Hat. All rights reserved.