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 Summary
Modifier and TypeMethodDescriptioncreate
(int majorVersion, int minorVersion, DatabaseMetaData meta, Connection connection) Create the platform based on the lower case JDBC metadata product name.create
(io.ebean.annotation.Platform platform) Create the specific platform.Create the platform based on the lower case platform name.boolean
Match on the lower case platform name.boolean
matchByProductName
(String productName) Match on the lower case JDBC metadata product name.boolean
matchPlatform
(io.ebean.annotation.Platform platform) Match on the specific platform.
-
Method Details
-
match
Match on the lower case platform name. -
create
Create the platform based on the lower case platform name. -
matchByProductName
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
Create the specific platform.
-