public interface ConnectionProperties
DataSourceFactory
Modifier and Type | Method and Description |
---|---|
void |
setDriverClass(java.lang.Class<? extends java.sql.Driver> driverClass)
Set the JDBC driver to use to connect to the database.
|
void |
setPassword(java.lang.String password)
Sets the password to use to connect to the database.
|
void |
setUrl(java.lang.String url)
Sets the JDBC connection URL of the database.
|
void |
setUsername(java.lang.String username)
Sets the username to use to connect to the database.
|
void setDriverClass(java.lang.Class<? extends java.sql.Driver> driverClass)
driverClass
- the jdbc driver classvoid setUrl(java.lang.String url)
url
- the connection urlvoid setUsername(java.lang.String username)
username
- the usernamevoid setPassword(java.lang.String password)
password
- the password