接口 FlywayConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required for Flyway to establish a connection to an SQL service using JDBC.
- 从以下版本开始:
- 3.1.0
- 作者:
- Andy Wilkinson
-
方法概要
修饰符和类型方法说明default 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.
-
方法详细资料
-
getUsername
String getUsername()Username for the database ornull
if no Flyway-specific configuration is required.- 返回:
- the username for the database or
null
-
getPassword
String getPassword()Password for the database ornull
if no Flyway-specific configuration is required.- 返回:
- the password for the database or
null
-
getJdbcUrl
String getJdbcUrl()JDBC URL for the database ornull
if no Flyway-specific configuration is required.- 返回:
- 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.- 返回:
- the JDBC driver class name or
null
- 另请参阅:
-