Example usage for Java org.springframework.jdbc.datasource SimpleDriverDataSource fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleDriverDataSource(Driver driver, String url, String username, String password) Create a new DriverManagerDataSource with the given standard Driver parameters. | |
SimpleDriverDataSource() Constructor for bean-style configuration. | |
SimpleDriverDataSource(Driver driver, String url) Create a new DriverManagerDataSource with the given standard Driver parameters. | |
SimpleDriverDataSource(Driver driver, String url, Properties conProps) Create a new DriverManagerDataSource with the given standard Driver parameters. |
String | getUrl() Return the JDBC URL to use for connecting through the Driver. |
String | getUsername() Return the JDBC username to use for connecting through the Driver. |
void | setDriver(@Nullable Driver driver) Specify the JDBC Driver instance to use. |
void | setDriverClass(Class extends Driver> driverClass) Specify the JDBC Driver implementation class to use. |
void | setPassword(@Nullable String password) Set the JDBC password to use for connecting through the Driver. |
void | setUrl(@Nullable String url) Set the JDBC URL to use for connecting through the Driver. |
void | setUsername(@Nullable String username) Set the JDBC username to use for connecting through the Driver. |