org.springframework.jdbc.datasource.embedded.ConnectionProperties |
DataSourceFactory helper that allows essential JDBC connection properties to be configured consistently, independent of the actual DataSource implementation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the JDBC driver to use to connect to the database.
| |||||||||||
Sets the password to use to connect to the database.
| |||||||||||
Sets the JDBC connection URL of the database.
| |||||||||||
Sets the username to use to connect to the database.
|
Set the JDBC driver to use to connect to the database.
driverClass | the jdbc driver class |
---|
Sets the password to use to connect to the database.
password | the password |
---|
Sets the JDBC connection URL of the database.
url | the connection url |
---|
Sets the username to use to connect to the database.
username | the username |
---|