-
public interface DatabasePlatformProviderProvides 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatabasePlatformcreate(int majorVersion, int minorVersion, DatabaseMetaData meta, Connection connection)Create the platform based on the lower case JDBC metadata product name.DatabasePlatformcreate(io.ebean.annotation.Platform platform)Create the specific platform.DatabasePlatformcreate(String name)Create the platform based on the lower case platform name.booleanmatch(String name)Match on the lower case platform name.booleanmatchByProductName(String productName)Match on the lower case JDBC metadata product name.booleanmatchPlatform(io.ebean.annotation.Platform platform)Match on the specific platform.
-
-
-
Method Detail
-
match
boolean match(String name)
Match on the lower case platform name.
-
create
DatabasePlatform create(String name)
Create the platform based on the lower case platform name.
-
matchByProductName
boolean matchByProductName(String productName)
Match on the lower case JDBC metadata product name.
-
create
DatabasePlatform create(int majorVersion, int minorVersion, DatabaseMetaData meta, Connection connection)
Create the platform based 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.
-
-