Module io.ebean.api

Interface DatabasePlatformProvider


  • public interface DatabasePlatformProvider
    Provides DatabasePlatform matching by name, JDBC product name and specific platform enum.

    DatabasePlatformProvider implementations are service loaded and custom implementations can be added and used via the service loading mechanism.

    • Method Detail

      • match

        boolean match​(String name)
        Match on the lower case platform name.
      • matchByProductName

        boolean matchByProductName​(String productName)
        Match on the lower case JDBC metadata product name.
      • matchPlatform

        boolean matchPlatform​(io.ebean.annotation.Platform platform)
        Match on the specific platform.
      • create

        DatabasePlatform create​(io.ebean.annotation.Platform platform)
        Create the specific platform.