ConnectionProperties serves as a simple data container that allows
essential JDBC connection properties to be configured consistently,
independent of the actual DataSource
implementation.
DataSourceFactory
| Modifier and Type | Method and Description |
|---|---|
| public void | setDriverClass(Class<? extends Driver>
the jdbc driver class driverClass)Set the JDBC driver class to use to connect to the database. |
| public void | |
| public void | |
| public void |
| setDriverClass | back to summary |
|---|---|
| public void setDriverClass(Class<? extends Driver> driverClass) Set the JDBC driver class to use to connect to the database. | |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) Set the password to use to connect to the database.
| |
| setUrl | back to summary |
|---|---|
| public void setUrl(String url) Set the JDBC connection URL for the database.
| |
| setUsername | back to summary |
|---|---|
| public void setUsername(String username) Set the username to use to connect to the database.
| |