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
.MultiTenantDataSource
BasicDataSource
.DataSourceBuilder.Builder
to set configuration properties and directly obtain a DataSource
instance.Context
resource referenceDataSourceBuilder
using the default ClassLoader.DataSourceBuilder
.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.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
initialization errors.DataSource
instance
created by a DataSourceFactory
.DataSource
beans using holon.datasource.
PlatformTransactionManager
bound to every DataSource
bean registered using holon.datasource.
DataSource
types enumeration.DataSource
registration bean name.DataSourceBuilder
priority if not specified using Priority
annotation.PlatformTransactionManager
registration bean name.DataSource
using external configuration
properties according to DataSourceConfigProperties
property names.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 tenantId
DataSourceConfigProperties.DRIVER_CLASS_NAME
property or using the default
driver class name for the configured database platform, if available.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.DataSourceFactory
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).DataSource
s internal cache.DataSource
for given tenantId
, if present.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.DataSource
instance provider.JdbcTransactionOptions
specifying the transaction isolation level.Copyright © 2018 The Holon Platform. All rights reserved.