DataSource implementation, using the DriverManager class and returning
a new Connection from every getConnection call.BasicDataSource builder.BasicDataSource instance.DataSource using given DataSource configuration properties file
name.DataSource using given DataSource configuration properties file
name.DataSource.MultiTenantDataSourceBasicDataSource.DataSourceBuilder.Builder to set configuration properties and directly obtain a DataSource instance.Context resource referenceDataSourceBuilder using the default ClassLoader.DataSourceBuilder.Logger bound to JdbcLogger.NAME.JdbcConnectionHandler, which uses DataSource.getConnection() to obtain a
connection and Connection.close() to release the connection.SpringJdbcConnectionHandler, with Spring's transaction synchronization support.DatabasePlatform from which to obtain the JDBC driver to use.ApplicationEvent used internally to trigger DataSource initialization.DataContextDataSourceInitializedEvent.DataSource instances using a DataSourceConfigProperties configuration
properties source.DataSource instance builder.ConfigPropertySet for DataSource configuration, using DataSourceConfigProperties.DEFAULT_NAME as property prefix.DataSource instance according to the declared DataSourceFactory.getDataSourceType() type
name and using a DataSourceConfigProperties property set.DataSource factory bean registration using EnableDataSource annotation.DataSource initialization errors.DataSource using SQL init scripts.DataSource instance
created by a DataSourceFactory.DataSource using DataSourceConfigProperties configuration
properties and EnableDataSource annotations.DataSource beans using holon.datasource.*
configuration properties.DataSourcesAutoConfiguration Spring boot auto-configuration.PlatformTransactionManager bound to every DataSource
bean registered using holon.datasource.* configuration properties.DataSource types enumeration.DataSource registration bean name.DataSourceBuilder priority if not specified using Priority annotation.PlatformTransactionManager registration bean name.BasicDataSource implementation.Builder implementation.DataSourceBuilder implementation.Builder.DataSourceFactorys and DataSourcePostProcessors obtained using
standard Java extensions loader from MET-INF/services.JdbcConnectionHandler, which uses DataSource.getConnection() to obtain a connection and
Connection.close() to release the connection.MultiTenantDataSource implementation.MultiTenantDataSource builder.SpringJdbcConnectionHandler, which uses DataSourceUtils to obtain and release a
Spring-managed transactional connection.DataSource using external configuration
properties according to DataSourceConfigProperties property names.Connection.Connection using given DataSource.TenantDataSourceProvider made available as Context
resource, using default ClassLoader.DatabasePlatform or try to detect it from connection url, if availableDataSource to use with given tenantIdDataSourceFactory bound to given type and ClassLoader, if available.DataSourcePostProcessors for given ClassLoader.DataSourceConfigProperties.DRIVER_CLASS_NAME property or using the default
driver class name for the configured database platform, if available.DataSource using provided SQL scripts.DataSource using provided SQL scripts.DataSource using provided SQL scripts resource names.DataSource using provided SQL scripts resource names.datacontextid-data-*.sql scripts.Connection handler.TransactionOptions.DataSource with multi-tenancy support.DataSource instance.TenantDataSourceProvider to use to obtain configured DataSource instances according to
current tenant id.DataSource beanDataSource beanPlatformTransactionManager bound to given DataSource bean nameDataSourceFactory to be used to build DataSource instances of the type returned by the
DataSourceFactory.getDataSourceType() method.DataSourcePostProcessor to initialiaze and/or configure the created DataSource
instances.connection, performing any connection finalization operation (for example to close the
connection).DataSources internal cache.DataSource for given tenantId, if present.TenantResolver to use to obtain the current tenant id.TenantDataSourceProvider to use to obtain configured DataSource instances according to current
tenant id.TenantResolver to use to obtain the current tenant id.DataSourceConfigProperties extension with additional Spring-related DataSource configuration properties.JdbcConnectionHandler with Spring-managed transactional connections support.Transaction implementation which uses a Spring PlatformTransactionManager to manage the actual
transaction.DataSource instance provider.JdbcTransactionOptions specifying the transaction isolation level.Copyright © 2019 The Holon Platform. All rights reserved.