Class JdbcDatabaseManager.EmbeddedJdbcDatabase

java.lang.Object
io.micronaut.jdbc.JdbcDatabaseManager.JdbcDatabase
io.micronaut.jdbc.JdbcDatabaseManager.EmbeddedJdbcDatabase
Enclosing class:
JdbcDatabaseManager

public static class JdbcDatabaseManager.EmbeddedJdbcDatabase extends JdbcDatabaseManager.JdbcDatabase
Extends JdbcDatabaseManager.JdbcDatabase with additional defaults for the use of embedded databases such as H2.
  • Method Details

    • getUrl

      public String getUrl(String databaseName)
      Obtain an embedded database URL for the given database name.
      Parameters:
      databaseName - The database name
      Returns:
      The URL
    • isEmbedded

      protected boolean isEmbedded()
      Overrides:
      isEmbedded in class JdbcDatabaseManager.JdbcDatabase
      Returns:
      Whether the database is embedded