Skip navigation links
A B C D E F G I J M N P R S T U V W 

A

autoCommit(boolean) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the DataSource connection auto-commit mode.
AUTOCOMMIT - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
Enable/Disable auto-commit for JDBC driver

B

BasicDataSource - Interface in com.holonplatform.jdbc
Simple standard jdbc DataSource implementation, using the DriverManager class and returning a new Connection from every getConnection call.
BasicDataSource.Builder - Interface in com.holonplatform.jdbc
build() - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Build and return the configured BasicDataSource instance.
build(DataSourceConfigProperties) - Method in interface com.holonplatform.jdbc.DataSourceBuilder
Build a DataSource instance using given configuration properties.
build(String) - Static method in interface com.holonplatform.jdbc.DataSourceBuilder
Convenience method to directly build a DataSource using given DataSource configuration properties file name.
build(String, ClassLoader) - Static method in interface com.holonplatform.jdbc.DataSourceBuilder
Convenience method to directly build a DataSource using given DataSource configuration properties file name.
build() - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Build the DataSource.
build(DataSourceConfigProperties) - Method in interface com.holonplatform.jdbc.DataSourceFactory
Build a DataSource instance using given configuration properties.
build() - Method in interface com.holonplatform.jdbc.MultiTenantDataSource.Builder
builder() - Static method in interface com.holonplatform.jdbc.BasicDataSource
Get a builder to create and configure a BasicDataSource.
builder() - Static method in interface com.holonplatform.jdbc.DataSourceBuilder
Get a DataSourceBuilder.Builder to set configuration properties and directly obtain a DataSource instance.
builder(String) - Static method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Builder to create property set instances bound to a property data source.
builder() - Static method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Builder to create property set instances bound to a property data source, without data context id specification.
builder() - Static method in interface com.holonplatform.jdbc.MultiTenantDataSource
Builder to create a MultiTenantDataSource
builder(String) - Static method in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Builder to create property set instances bound to a property data source.
builder() - Static method in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Builder to create property set instances bound to a property data source, without data context id specification.

C

com.holonplatform.jdbc - package com.holonplatform.jdbc
 
com.holonplatform.jdbc.exceptions - package com.holonplatform.jdbc.exceptions
 
com.holonplatform.jdbc.spring - package com.holonplatform.jdbc.spring
 
com.holonplatform.jdbc.spring.boot - package com.holonplatform.jdbc.spring.boot
 
com.holonplatform.jdbc.transaction - package com.holonplatform.jdbc.transaction
 
connectionProperties(Properties) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Specify arbitrary connection properties as key/value pairs to be passed to the JDBC Driver.
CONTEXT_KEY - Static variable in interface com.holonplatform.jdbc.TenantDataSourceProvider
Default Context resource reference
CONTINUE_ON_ERROR - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Do not stop if an error occurs while initializing the database (default is false)
create() - Static method in interface com.holonplatform.jdbc.DataSourceBuilder
Create a new DataSourceBuilder using the default ClassLoader.
create(ClassLoader) - Static method in interface com.holonplatform.jdbc.DataSourceBuilder
Create a new DataSourceBuilder.
create() - Static method in interface com.holonplatform.jdbc.JdbcConnectionHandler
Create a default JdbcConnectionHandler, which uses DataSource.getConnection() to obtain a connection and Connection.close() to release the connection.
create() - Static method in interface com.holonplatform.jdbc.spring.SpringJdbcConnectionHandler
Create a default SpringJdbcConnectionHandler, with Spring's transaction synchronization support.

D

DATA_SCRIPT - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Data (DML) script resource reference
database(DatabasePlatform) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set the DatabasePlatform from which to obtain the JDBC driver to use.
database(DatabasePlatform) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the database platform to which the DataSource is connected.
DatabasePlatform - Enum in com.holonplatform.jdbc
Enumeration for common database platforms
DataSourceBuilder - Interface in com.holonplatform.jdbc
Builder to create and configure DataSource instances using a DataSourceConfigProperties configuration properties source.
DataSourceBuilder.Builder - Interface in com.holonplatform.jdbc
Direct DataSource instance builder.
DataSourceConfigProperties - Interface in com.holonplatform.jdbc
A ConfigPropertySet for DataSource configuration, using DataSourceConfigProperties.DEFAULT_NAME as property prefix.
DataSourceConfigProperties.DataSourceConfigPropertiesImpl - Class in com.holonplatform.jdbc
Default implementation
DataSourceConfigPropertiesImpl(String) - Constructor for class com.holonplatform.jdbc.DataSourceConfigProperties.DataSourceConfigPropertiesImpl
Constructor
DataSourceFactory - Interface in com.holonplatform.jdbc
Factory interface to create a DataSource instance according to the declared DataSourceFactory.getDataSourceType() type name and using a DataSourceConfigProperties property set.
DataSourceInitializationException - Exception in com.holonplatform.jdbc.exceptions
Exception related to DataSource initialization errors.
DataSourceInitializationException(String) - Constructor for exception com.holonplatform.jdbc.exceptions.DataSourceInitializationException
Constructor with error message.
DataSourceInitializationException(String, Throwable) - Constructor for exception com.holonplatform.jdbc.exceptions.DataSourceInitializationException
Constructor with error message and nested exception.
DataSourcePostProcessor - Interface in com.holonplatform.jdbc
Interface which can be used to perform additional initialization and configuration on a DataSource instance created by a DataSourceFactory.
DataSourcesAutoConfiguration - Class in com.holonplatform.jdbc.spring.boot
Spring boot auto-configuration to register DataSource beans using holon.datasource.
DataSourcesAutoConfiguration() - Constructor for class com.holonplatform.jdbc.spring.boot.DataSourcesAutoConfiguration
 
DataSourcesTransactionManagerAutoConfiguration - Class in com.holonplatform.jdbc.spring.boot
Spring boot auto-configuration to register a PlatformTransactionManager bound to every DataSource bean registered using holon.datasource.
DataSourcesTransactionManagerAutoConfiguration() - Constructor for class com.holonplatform.jdbc.spring.boot.DataSourcesTransactionManagerAutoConfiguration
 
DataSourceType - Enum in com.holonplatform.jdbc
DataSource types enumeration.
DEFAULT_DATASOURCE_BEAN_NAME - Static variable in annotation type com.holonplatform.jdbc.spring.EnableDataSource
Default DataSource registration bean name.
DEFAULT_MAX_POOL_SIZE - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
Default max pool size for pooling DataSource
DEFAULT_NAME - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
Configuration property set default name
DEFAULT_PRIORITY - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSourceBuilder priority if not specified using Priority annotation.
DEFAULT_TRANSACTIONMANAGER_BEAN_NAME - Static variable in annotation type com.holonplatform.jdbc.spring.EnableDataSource
Default PlatformTransactionManager registration bean name.
DRIVER_CLASS_NAME - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
JDBC Driver class name
driverClass(Class<? extends Driver>) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set the JDBC Driver class to use.
driverClassName(String) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set JDBC Driver class name to use.
driverClassName(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the JDBC driver class name.

E

EnableDataSource - Annotation Type in com.holonplatform.jdbc.spring
Annotation to be used on Spring Configuration classes to setup a DataSource using external configuration properties according to DataSourceConfigProperties property names.

F

fromUrl(String) - Static method in enum com.holonplatform.jdbc.DatabasePlatform
Try to guess DatabasePlatform from given JDBC connection url

G

getConnection(DataSource, JdbcConnectionHandler.ConnectionType) - Method in interface com.holonplatform.jdbc.JdbcConnectionHandler
Get a Connection using given DataSource.
getConnectionValidationQuery() - Method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Gets connection validation query, if configured or if a default validation query is available
getCurrent() - Static method in interface com.holonplatform.jdbc.TenantDataSourceProvider
Convenience method to obtain the current TenantDataSourceProvider made available as Context resource, using default ClassLoader.
getDatabasePlatform() - Method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Gets configured DatabasePlatform or try to detect it from connection url, if available
getDataContextId() - Method in class com.holonplatform.jdbc.DataSourceConfigProperties.DataSourceConfigPropertiesImpl
 
getDataSource(String) - Method in interface com.holonplatform.jdbc.TenantDataSourceProvider
Provides the concrete DataSource to use with given tenantId
getDataSourceType() - Method in interface com.holonplatform.jdbc.DataSourceFactory
Get the symbolic DataSource type name to which this factory is bound
getDriverClassName() - Method in enum com.holonplatform.jdbc.DatabasePlatform
JDBC driver class name
getDriverClassName() - Method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Try to obtain the JDBC Driver class name, either from DataSourceConfigProperties.DRIVER_CLASS_NAME property or using the default driver class name for the configured database platform, if available.
getLevel() - Method in enum com.holonplatform.jdbc.transaction.TransactionIsolation
Get transaction isolation level.
getTransactionIsolation() - Method in interface com.holonplatform.jdbc.transaction.JdbcTransactionOptions
Get the transaction isolation level to use.
getType() - Method in enum com.holonplatform.jdbc.DataSourceType
Get the type name.
getValidationQuery() - Method in enum com.holonplatform.jdbc.DatabasePlatform
Get connection validation query
getXaDriverClassName() - Method in enum com.holonplatform.jdbc.DatabasePlatform
XA JDBC driver class name

I

INITIALIZE - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Populate the database after DataSource initialization using datacontextid-data-*.sql scripts.
isContinueOnError() - Method in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Gets whether to stop or not if an error occurs while initializing the database.
isDisableAutoCommit() - Method in interface com.holonplatform.jdbc.DataSourceConfigProperties
Gets whether to disable connection auto-commit
isInitialize() - Method in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Gets whether the DataSource should initialize the database using data scripts
isPrimary() - Method in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Gets whether the DataSource should be marked as primary

J

JdbcConnectionHandler - Interface in com.holonplatform.jdbc
JDBC Connection handler.
JdbcConnectionHandler.ConnectionType - Enum in com.holonplatform.jdbc
Connection type
JdbcTransactionOptions - Interface in com.holonplatform.jdbc.transaction
JDBC TransactionOptions.
JNDI_NAME - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
JNDI lookup name.

M

MAX_POOL_SIZE - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
DataSource max pool size (for pooling DataSource types)
maxPoolSize(int) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
For connection pooling DataSources, set the upper limit of the connections pool.
MIN_POOL_SIZE - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
DataSource min pool size (for pooling DataSource types)
minPoolSize(int) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
For connection pooling DataSources, set the lower limit of the connections pool.
MultiTenantDataSource - Interface in com.holonplatform.jdbc
DataSource with multi-tenancy support.
MultiTenantDataSource.Builder - Interface in com.holonplatform.jdbc
 

N

name(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the DataSource instance name, if supported by concrete DataSource implementation.
NAME - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
DataSource name

P

password(String) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set the JDBC connection password.
password(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the JDBC connection password.
PASSWORD - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
JDBC connection password
PLATFORM - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
Database platform to use.
postProcessDataSource(DataSource, String, DataSourceConfigProperties) - Method in interface com.holonplatform.jdbc.DataSourcePostProcessor
Post process a DataSource instance.
PRIMARY - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Marks DataSource as primary in multiple data sources environments.
provider(TenantDataSourceProvider) - Method in interface com.holonplatform.jdbc.MultiTenantDataSource.Builder
Set the TenantDataSourceProvider to use to obtain configured DataSource instances according to current tenant id.

R

registerFactory(DataSourceFactory) - Method in interface com.holonplatform.jdbc.DataSourceBuilder
Register a DataSourceFactory to be used to build DataSource instances of the type returned by the DataSourceFactory.getDataSourceType() method.
registerPostProcessor(DataSourcePostProcessor) - Method in interface com.holonplatform.jdbc.DataSourceBuilder
Register a new DataSourcePostProcessor to initialiaze and/or configure the created DataSource instances.
releaseConnection(Connection, DataSource, JdbcConnectionHandler.ConnectionType) - Method in interface com.holonplatform.jdbc.JdbcConnectionHandler
Release given connection, performing any connection finalization operation (for example to close the connection).
reset() - Method in interface com.holonplatform.jdbc.MultiTenantDataSource
Reset tenant DataSources internal cache.
reset(String) - Method in interface com.holonplatform.jdbc.MultiTenantDataSource
Reset internal cached DataSource for given tenantId, if present.
resolver(TenantResolver) - Method in interface com.holonplatform.jdbc.MultiTenantDataSource.Builder
Set the TenantResolver to use to obtain the current tenant id.

S

SCHEMA_SCRIPT - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Schema (DDL) script resource reference
SEPARATOR - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Statement separator in SQL initialization scripts.
SpringDataSourceConfigProperties - Interface in com.holonplatform.jdbc.spring
DataSourceConfigProperties extension with additional Spring-related DataSource configuration properties.
SpringDataSourceConfigProperties.SpringDataSourceConfigPropertiesImpl - Class in com.holonplatform.jdbc.spring
Default implementation
SpringDataSourceConfigPropertiesImpl(String) - Constructor for class com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties.SpringDataSourceConfigPropertiesImpl
Constructor
SpringJdbcConnectionHandler - Interface in com.holonplatform.jdbc.spring
A Spring JdbcConnectionHandler with Spring-managed transactional connections support.
SQL_SCRIPT_ENCODING - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
SQL scripts encoding.

T

TenantDataSourceProvider - Interface in com.holonplatform.jdbc
Concrete tenant DataSource instance provider.
TransactionIsolation - Enum in com.holonplatform.jdbc.transaction
Transaction isolation levels.
type(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the DataSource type name.
type(DataSourceType) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the DataSource type.
TYPE - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
DataSource type
TYPE_BASIC - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSource type: BasicDataSource
TYPE_DBCP - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSource type: DBCP 2 DataSource
TYPE_HIKARICP - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSource type: HikariCP DataSource
TYPE_JNDI - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSource type: JNDI DataSource
TYPE_TOMCAT - Static variable in interface com.holonplatform.jdbc.DataSourceBuilder
Default DataSource type: Tomcat DataSource

U

url(String) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set the JDBC connection url
url(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the JDBC connection URL.
URL - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
JDBC connection url
username(String) - Method in interface com.holonplatform.jdbc.BasicDataSource.Builder
Set the JDBC connection username.
username(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Set the JDBC connection username.
USERNAME - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
JDBC connection username
using(TransactionIsolation) - Static method in interface com.holonplatform.jdbc.transaction.JdbcTransactionOptions
Create a new JdbcTransactionOptions specifying the transaction isolation level.

V

VALIDATION_QUERY - Static variable in interface com.holonplatform.jdbc.DataSourceConfigProperties
Optional connection validation query for pooling DataSources
validationQuery(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
For connection pooling DataSources, set the connection validation query.
valueOf(String) - Static method in enum com.holonplatform.jdbc.DatabasePlatform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.holonplatform.jdbc.DataSourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.holonplatform.jdbc.JdbcConnectionHandler.ConnectionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.holonplatform.jdbc.transaction.TransactionIsolation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.holonplatform.jdbc.DatabasePlatform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.holonplatform.jdbc.DataSourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.holonplatform.jdbc.JdbcConnectionHandler.ConnectionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.holonplatform.jdbc.transaction.TransactionIsolation
Returns an array containing the constants of this enum type, in the order they are declared.

W

withInitScript(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Add a SQL intitialization script.
withInitScriptResource(String) - Method in interface com.holonplatform.jdbc.DataSourceBuilder.Builder
Add a SQL intitialization script read from given classpath resource name (for example a file name).
A B C D E F G I J M N P R S T U V W 

Copyright © 2018 The Holon Platform. All rights reserved.