retrieveJdbcProperties

fun ApplicationConfig.retrieveJdbcProperties(): JdbcProperties?

Tries to retrieve JDBC properties from the application configuration. If any of the properties isn't present, null is returned, a complete JdbcProperties object otherwise. The following properties are fetched:

  • database.url

  • database.user

  • database.password

See also