Interface JdbcConnectionDetails

All Superinterfaces:
ConnectionDetails

public interface JdbcConnectionDetails extends ConnectionDetails
Details required to establish a connection to an SQL service using JDBC.
Since:
3.1.0
  • Method Details

    • getUsername

      String getUsername()
      Username 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

      default String 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:
      • getJdbcUrl()
      • DatabaseDriver.fromJdbcUrl(String)
      • DatabaseDriver.getDriverClassName()
    • getXaDataSourceClassName

      default String 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:
      • getJdbcUrl()
      • DatabaseDriver.fromJdbcUrl(String)
      • DatabaseDriver.getXaDataSourceClassName()