public interface BasicDataSource extends DataSource, Closeable
DataSourceimplementation, using the
DriverManagerclass and returning a new
This DataSource is configured using standard connection properties and provides a fluent builder with methods to set base connection parameters, such as JDBC connection URL, username, password and a specific JDBC Driver. If no specific Driver class is configured, the JDBC DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers.
The DataSource is
Closeable only for API consistency with other DataSource implementations, but the
close() method does nothing by now.
NOTE: This DataSource does not pool Connections. Can be useful for test or standalone environments outside J2EE containers.
|Modifier and Type||Interface and Description|
|Modifier and Type||Method and Description|
Get a builder to create and configure a
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
Copyright © 2020 The Holon Platform. All rights reserved.