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

A

afterPropertiesSet() - Method in class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
 
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
autoCommit(boolean) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 

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() - Method in class com.holonplatform.jdbc.examples.ExampleBasicDataSource
 
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 class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
build(DataSourceConfigProperties) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder
 
build() - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
build() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource.DefaultBuilder
 
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() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
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.
builder2() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
buildMissingDriverClassMessage(String, String) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Build the missing JDBC driver class name error message.
buildMissingJdbcUrlMessage(String, String) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Build the missing JDBC url error message.
buildMissingJNDINameMessage(String) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Build the missing JNDI name error message.

C

close() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
close() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
com.holonplatform.jdbc - package com.holonplatform.jdbc
 
com.holonplatform.jdbc.examples - package com.holonplatform.jdbc.examples
 
com.holonplatform.jdbc.exceptions - package com.holonplatform.jdbc.exceptions
 
com.holonplatform.jdbc.internal - package com.holonplatform.jdbc.internal
 
com.holonplatform.jdbc.spring - package com.holonplatform.jdbc.spring
 
com.holonplatform.jdbc.spring.boot - package com.holonplatform.jdbc.spring.boot
 
com.holonplatform.jdbc.spring.boot.internal - package com.holonplatform.jdbc.spring.boot.internal
 
com.holonplatform.jdbc.spring.internal - package com.holonplatform.jdbc.spring.internal
 
com.holonplatform.jdbc.transaction - package com.holonplatform.jdbc.transaction
 
commit() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
 
configuration() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
configuration2() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
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.
connectionProperties(Properties) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
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.internal.JdbcLogger
Get a Logger bound to JdbcLogger.NAME.
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.
database(DatabasePlatform) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
DatabasePlatform - Enum in com.holonplatform.jdbc
Enumeration for common database platforms
DataContextDataSourceInitializedEvent - Class in com.holonplatform.jdbc.spring.internal
ApplicationEvent used internally to trigger DataSource initialization.
DataContextDataSourceInitializedEvent(DataSource, String) - Constructor for class com.holonplatform.jdbc.spring.internal.DataContextDataSourceInitializedEvent
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.
DataSourceFactoryBean - Class in com.holonplatform.jdbc.spring.internal
Factory bean for automatic DataSource factory bean registration using EnableDataSource annotation.
DataSourceFactoryBean(DataSourceConfigProperties) - Constructor for class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
Constructor
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.
DataSourceInitializer - Class in com.holonplatform.jdbc.internal
Helper class to initialize a DataSource using SQL init scripts.
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.
DataSourceRegistrar - Class in com.holonplatform.jdbc.spring.internal
Bean registration class to register a DataSource using DataSourceConfigProperties configuration properties and EnableDataSource annotations.
DataSourceRegistrar() - Constructor for class com.holonplatform.jdbc.spring.internal.DataSourceRegistrar
 
DataSourcesAutoConfiguration - Class in com.holonplatform.jdbc.spring.boot
Spring boot auto-configuration to register DataSource beans using holon.datasource.* configuration properties.
DataSourcesAutoConfiguration() - Constructor for class com.holonplatform.jdbc.spring.boot.DataSourcesAutoConfiguration
 
DataSourcesAutoConfigurationRegistrar - Class in com.holonplatform.jdbc.spring.boot.internal
DataSource bean registrar using DataSourcesAutoConfiguration Spring boot auto-configuration.
DataSourcesAutoConfigurationRegistrar() - Constructor for class com.holonplatform.jdbc.spring.boot.internal.DataSourcesAutoConfigurationRegistrar
 
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.* configuration properties.
DataSourcesTransactionManagerAutoConfiguration() - Constructor for class com.holonplatform.jdbc.spring.boot.DataSourcesTransactionManagerAutoConfiguration
 
DataSourcesTransactionManagerAutoConfigurationRegistrar - Class in com.holonplatform.jdbc.spring.boot.internal
DataSource transaction manager registrar.
DataSourcesTransactionManagerAutoConfigurationRegistrar() - Constructor for class com.holonplatform.jdbc.spring.boot.internal.DataSourcesTransactionManagerAutoConfigurationRegistrar
 
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.
DefaultBasicDataSource - Class in com.holonplatform.jdbc.internal
Default BasicDataSource implementation.
DefaultBasicDataSource() - Constructor for class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
DefaultBasicDataSource.DefaultBuilder - Class in com.holonplatform.jdbc.internal
Default Builder implementation.
DefaultBuilder() - Constructor for class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
DefaultBuilder() - Constructor for class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
DefaultBuilder() - Constructor for class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource.DefaultBuilder
 
DefaultDataSourceBuilder - Class in com.holonplatform.jdbc.internal
Default DataSourceBuilder implementation.
DefaultDataSourceBuilder(ClassLoader) - Constructor for class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder
Constructor
DefaultDataSourceBuilder.DefaultBuilder - Class in com.holonplatform.jdbc.internal
Default Builder.
DefaultDataSourceBuilderConfiguration - Class in com.holonplatform.jdbc.internal
Class to load and provide default DataSourceFactorys and DataSourcePostProcessors obtained using standard Java extensions loader from MET-INF/services.
DefaultJdbcConnectionHandler - Class in com.holonplatform.jdbc.internal
Default JdbcConnectionHandler, which uses DataSource.getConnection() to obtain a connection and Connection.close() to release the connection.
DefaultJdbcConnectionHandler() - Constructor for class com.holonplatform.jdbc.internal.DefaultJdbcConnectionHandler
 
DefaultMultiTenantDataSource - Class in com.holonplatform.jdbc.internal
Default MultiTenantDataSource implementation.
DefaultMultiTenantDataSource() - Constructor for class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
Constructor
DefaultMultiTenantDataSource.DefaultBuilder - Class in com.holonplatform.jdbc.internal
Default MultiTenantDataSource builder.
DefaultSpringJdbcConnectionHandler - Class in com.holonplatform.jdbc.spring.internal
Default SpringJdbcConnectionHandler, which uses DataSourceUtils to obtain and release a Spring-managed transactional connection.
DefaultSpringJdbcConnectionHandler() - Constructor for class com.holonplatform.jdbc.spring.internal.DefaultSpringJdbcConnectionHandler
 
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.
driverClass(Class<? extends Driver>) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
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.
driverClassName(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
driverClassName(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 

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.
ensureInited(ClassLoader) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Ensure the default factories and post processors are inited for given classloader.
ExampleBasicDataSource - Class in com.holonplatform.jdbc.examples
 
ExampleBasicDataSource() - Constructor for class com.holonplatform.jdbc.examples.ExampleBasicDataSource
 
ExampleJdbc - Class in com.holonplatform.jdbc.examples
 
ExampleJdbc() - Constructor for class com.holonplatform.jdbc.examples.ExampleJdbc
 
ExampleJdbcSpring - Class in com.holonplatform.jdbc.examples
 
ExampleJdbcSpring() - Constructor for class com.holonplatform.jdbc.examples.ExampleJdbcSpring
 
ExampleJdbcSpring2 - Class in com.holonplatform.jdbc.examples
 
ExampleJdbcSpring2() - Constructor for class com.holonplatform.jdbc.examples.ExampleJdbcSpring2
 
ExampleJdbcSpring3 - Class in com.holonplatform.jdbc.examples
 
ExampleJdbcSpring3() - Constructor for class com.holonplatform.jdbc.examples.ExampleJdbcSpring3
 
ExampleJdbcSpring4 - Class in com.holonplatform.jdbc.examples
 
ExampleJdbcSpring4() - Constructor for class com.holonplatform.jdbc.examples.ExampleJdbcSpring4
 
ExampleSpringBoot1 - Class in com.holonplatform.jdbc.examples
 
ExampleSpringBoot1() - Constructor for class com.holonplatform.jdbc.examples.ExampleSpringBoot1
 
executeSqlScript(Connection, String) - Static method in class com.holonplatform.jdbc.internal.SQLScriptUtils
Execute given SQL script using provided Connection.

F

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

G

getConfiguration() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
Get the transaction configuration.
getConnection() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
getConnection(String, String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
getConnection(DataSource, JdbcConnectionHandler.ConnectionType) - Method in class com.holonplatform.jdbc.internal.DefaultJdbcConnectionHandler
 
getConnection() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
getConnection(String, String) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
getConnection(DataSource, JdbcConnectionHandler.ConnectionType) - Method in interface com.holonplatform.jdbc.JdbcConnectionHandler
Get a Connection using given DataSource.
getConnection(DataSource, JdbcConnectionHandler.ConnectionType) - Method in class com.holonplatform.jdbc.spring.internal.DefaultSpringJdbcConnectionHandler
 
getConnectionProperties() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Connection properties to be passed to the Driver
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
 
getDataContextId() - Method in class com.holonplatform.jdbc.spring.internal.DataContextDataSourceInitializedEvent
Gets the data context id of the DataSource
getDataSource(String) - Method in interface com.holonplatform.jdbc.TenantDataSourceProvider
Provides the concrete DataSource to use with given tenantId
getDataSourceFactory(ClassLoader, String) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Get the default DataSourceFactory bound to given type and ClassLoader, if available.
getDataSourcePostProcessors(ClassLoader) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Get the default DataSourcePostProcessors for given ClassLoader.
getDataSourceType() - Method in interface com.holonplatform.jdbc.DataSourceFactory
Get the symbolic DataSource type name to which this factory is bound
getDefaultType(ClassLoader) - Static method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilderConfiguration
Get the default DataSource type name for given ClassLoader.
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.
getLoginTimeout() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Returns 0, indicating the default system timeout is to be used.
getLoginTimeout() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
getLogWriter() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
LogWriter methods are not supported.
getLogWriter() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
getObject() - Method in class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
 
getObjectType() - Method in class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
 
getParentLogger() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
getParentLogger() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
getPassword() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
JDBC connection password
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.
getUrl() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
JDBC URL to use to use for connections
getUsername() - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
JDBC connection username
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

initDataSourceFromSQL(DataSource, String...) - Static method in class com.holonplatform.jdbc.internal.DataSourceInitializer
Init given DataSource using provided SQL scripts.
initDataSourceFromSQL(DataSource, List<String>) - Static method in class com.holonplatform.jdbc.internal.DataSourceInitializer
Init given DataSource using provided SQL scripts.
initDataSourceFromSQLResources(DataSource, String...) - Static method in class com.holonplatform.jdbc.internal.DataSourceInitializer
Init given DataSource using provided SQL scripts resource names.
initDataSourceFromSQLResources(DataSource, List<String>) - Static method in class com.holonplatform.jdbc.internal.DataSourceInitializer
Init given DataSource using provided SQL scripts resource names.
INITIALIZE - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Populate the database after DataSource initialization using datacontextid-data-*.sql scripts.
isCompleted() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
 
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
isRollbackOnly() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
 
isSingleton() - Method in class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
 
isWrapperFor(Class<?>) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
isWrapperFor(Class<?>) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 

J

JdbcConnectionHandler - Interface in com.holonplatform.jdbc
JDBC Connection handler.
JdbcConnectionHandler.ConnectionType - Enum in com.holonplatform.jdbc
Connection type
JdbcLogger - Interface in com.holonplatform.jdbc.internal
JDBC module logger provider.
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.
maxPoolSize(int) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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.
minPoolSize(int) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
multiTenant() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
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
name(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
NAME - Static variable in interface com.holonplatform.jdbc.internal.JdbcLogger
 

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
password(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
password(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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.
postProcessor() - Method in class com.holonplatform.jdbc.examples.ExampleJdbc
 
PRIMARY - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
Marks DataSource as primary in multiple data sources environments.
provider(TenantDataSourceProvider) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource.DefaultBuilder
 
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

registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class com.holonplatform.jdbc.spring.boot.internal.DataSourcesAutoConfigurationRegistrar
 
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class com.holonplatform.jdbc.spring.boot.internal.DataSourcesTransactionManagerAutoConfigurationRegistrar
 
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class com.holonplatform.jdbc.spring.internal.DataSourceRegistrar
 
registerDataSource(Environment, BeanDefinitionRegistry, String, PrimaryMode) - Static method in class com.holonplatform.jdbc.spring.internal.DataSourceRegistrar
Register a DataSource bean
registerDataSource(SpringDataSourceConfigProperties, BeanDefinitionRegistry, String, PrimaryMode) - Static method in class com.holonplatform.jdbc.spring.internal.DataSourceRegistrar
Register a DataSource bean
registerDataSourceTransactionManager(BeanDefinitionRegistry, String, String, PrimaryMode) - Static method in class com.holonplatform.jdbc.spring.internal.DataSourceRegistrar
Register a PlatformTransactionManager bound to given DataSource bean name
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.
registerFactory(DataSourceFactory) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder
 
registerPostProcessor(DataSourcePostProcessor) - Method in interface com.holonplatform.jdbc.DataSourceBuilder
Register a new DataSourcePostProcessor to initialiaze and/or configure the created DataSource instances.
registerPostProcessor(DataSourcePostProcessor) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder
 
releaseConnection(Connection, DataSource, JdbcConnectionHandler.ConnectionType) - Method in class com.holonplatform.jdbc.internal.DefaultJdbcConnectionHandler
 
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).
releaseConnection(Connection, DataSource, JdbcConnectionHandler.ConnectionType) - Method in class com.holonplatform.jdbc.spring.internal.DefaultSpringJdbcConnectionHandler
 
reset() - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
reset(String) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
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 class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource.DefaultBuilder
 
resolver(TenantResolver) - Method in interface com.holonplatform.jdbc.MultiTenantDataSource.Builder
Set the TenantResolver to use to obtain the current tenant id.
rollback() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
 

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.
setBeanClassLoader(ClassLoader) - Method in class com.holonplatform.jdbc.spring.internal.DataSourceFactoryBean
 
setBeanFactory(BeanFactory) - Method in class com.holonplatform.jdbc.spring.boot.internal.DataSourcesTransactionManagerAutoConfigurationRegistrar
 
setConnectionProperties(Properties) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Specify arbitrary connection properties as key/value pairs to be passed to the Driver.
setDriverClass(Class<? extends Driver>) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Set JDBC Driver class to use
setDriverClassName(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Set JDBC Driver class name to use
setEnvironment(Environment) - Method in class com.holonplatform.jdbc.spring.boot.internal.DataSourcesAutoConfigurationRegistrar
 
setLoginTimeout(int) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Setting a login timeout is not supported.
setLoginTimeout(int) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
setLogWriter(PrintWriter) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
LogWriter methods are not supported.
setLogWriter(PrintWriter) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
setPassword(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Set JDBC connection password
setRollbackOnly() - Method in class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
 
setTenantDataSourceProvider(TenantDataSourceProvider) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
Set the TenantDataSourceProvider to use to obtain configured DataSource instances according to current tenant id.
setTenantResolver(TenantResolver) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
Set the TenantResolver to use to obtain the current tenant id.
setUrl(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Set JDBC URL to use for connections
setUsername(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
Set JDBC connection username
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.
SpringManagedTransaction - Class in com.holonplatform.jdbc.spring.internal
Base Transaction implementation which uses a Spring PlatformTransactionManager to manage the actual transaction.
SpringManagedTransaction(PlatformTransactionManager, TransactionConfiguration) - Constructor for class com.holonplatform.jdbc.spring.internal.SpringManagedTransaction
Constructor.
SQL_SCRIPT_ENCODING - Static variable in interface com.holonplatform.jdbc.spring.SpringDataSourceConfigProperties
SQL scripts encoding.
SQLScriptUtils - Class in com.holonplatform.jdbc.internal
Utility class to execute a SQL script.

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(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
type(DataSourceType) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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

unwrap(Class<T>) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource
 
unwrap(Class<I>) - Method in class com.holonplatform.jdbc.internal.DefaultMultiTenantDataSource
 
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
url(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
url(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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
username(String) - Method in class com.holonplatform.jdbc.internal.DefaultBasicDataSource.DefaultBuilder
 
username(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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.
validationQuery(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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.
withInitScript(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
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).
withInitScriptResource(String) - Method in class com.holonplatform.jdbc.internal.DefaultDataSourceBuilder.DefaultBuilder
 
A B C D E F G I J M N P R S T U V W 
Skip navigation links

Copyright © 2020 The Holon Platform. All rights reserved.