Interface DbDialectProvider

All Superinterfaces:
Iterable<DbDialect>

public interface DbDialectProvider extends Iterable<DbDialect>
Provider for DbDialects.
Since:
1.0.0
  • Method Details

    • get

      DbDialect get(String id)
      Parameters:
      id - the identifier of the requested DbDialect.
      Returns:
      the requested DbDialect.
      Throws:
      io.github.mmm.base.exception.ObjectNotFoundException - if no DbDialect could be found for the given name.
    • getByDbUrl

      DbDialect getByDbUrl(String url)
      Parameters:
      url - the database connection URL (e.g. JDBC URL).
      Returns:
      the DbDialect that is responsible for this URL.
      Throws:
      io.github.mmm.base.exception.ObjectNotFoundException - if no DbDialect could be found for the given url.
    • has

      boolean has(String name)
      Parameters:
      name - the name of the DbDialect to find.
      Returns:
      true if the DbDialect with the given name is present, false otherwise.
    • get

      static DbDialectProvider get()
      Returns:
      the singleton instance of this DbDialectProvider.