Interface JdbcConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to an SQL service using JDBC.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Method Details
-
getUsername
String getUsername()Hostname for the database.- Returns:
- the username for the database
-
getPassword
String getPassword()Password for the database.- Returns:
- the password for the database
-
getJdbcUrl
String getJdbcUrl()JDBC url for the database.- Returns:
- the JDBC url for the database
-
getDriverClassName
The name of the JDBC driver class. Defaults to the class name of the driver specified in the JDBC URL.- Returns:
- the JDBC driver class name
- See Also:
-
getXaDataSourceClassName
Returns the name of the XA DataSource class. Defaults to the class name from the driver specified in the JDBC URL.- Returns:
- the XA DataSource class name
- See Also:
-