Interface FlywayConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required for Flyway to establish a connection to an SQL service using JDBC.
- Since:
- 3.1.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
The name of the JDBC driver class.JDBC URL for the database ornull
if no Flyway-specific configuration is required.Password for the database ornull
if no Flyway-specific configuration is required.Username for the database ornull
if no Flyway-specific configuration is required.
-
Method Details
-
getUsername
String getUsername()Username for the database ornull
if no Flyway-specific configuration is required.- Returns:
- the username for the database or
null
-
getPassword
String getPassword()Password for the database ornull
if no Flyway-specific configuration is required.- Returns:
- the password for the database or
null
-
getJdbcUrl
String getJdbcUrl()JDBC URL for the database ornull
if no Flyway-specific configuration is required.- Returns:
- the JDBC URL for the database or
null
-
getDriverClassName
The name of the JDBC driver class. Defaults to the class name of the driver specified in the JDBC URL ornull
when no JDBC URL is configured.- Returns:
- the JDBC driver class name or
null
- See Also:
-