|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionProperties
DataSourceFactory helper that allows essential JDBC connection properties to be configured consistently, independent of the actual DataSource implementation.
DataSourceFactory
Method Summary | |
---|---|
void |
setDriverClass(Class<? extends Driver> driverClass)
Set the JDBC driver to use to connect to the database. |
void |
setPassword(String password)
Sets the password to use to connect to the database. |
void |
setUrl(String url)
Sets the JDBC connection URL of the database. |
void |
setUsername(String username)
Sets the username to use to connect to the database. |
Method Detail |
---|
void setDriverClass(Class<? extends Driver> driverClass)
driverClass
- the jdbc driver classvoid setUrl(String url)
url
- the connection urlvoid setUsername(String username)
username
- the usernamevoid setPassword(String password)
password
- the password
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |