Package io.ebean.annotation
Enum Platform
- java.lang.Object
-
- java.lang.Enum<Platform>
-
- io.ebean.annotation.Platform
-
- All Implemented Interfaces:
Serializable,Comparable<Platform>
public enum Platform extends Enum<Platform>
Built in supported platforms.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLICKHOUSEClickHouse.COCKROACHCockroachDB.DB2DB2.GENERICGeneric platform configured via properties or code.H2H2.HANASAP HANAHSQLDBHsqlDB.MARIADBMariaDB.MYSQLMySql.MYSQL55MySql 5.5.NUODBNuoDB.ORACLEOracle preferred platform 12c and higher.ORACLE11Oracle 11 platform.POSTGRESPostgres preferred platform for 10+.POSTGRES9Postgres 9.SQLANYWHERESQLAnywhere.SQLITESQLite.SQLSERVERMicrosoft SQL Server (preferred platform 2017).SQLSERVER16Microsoft SQL Server 2016 platform (Non UTF8 types and Identity by default).SQLSERVER17Microsoft SQL Server 2017 platform (UTF8 types and Sequence).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Platformbase()Return the base platform.static PlatformvalueOf(String name)Returns the enum constant of this type with the specified name.static Platform[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLICKHOUSE
public static final Platform CLICKHOUSE
ClickHouse.
-
SQLANYWHERE
public static final Platform SQLANYWHERE
SQLAnywhere.
-
SQLSERVER16
public static final Platform SQLSERVER16
Microsoft SQL Server 2016 platform (Non UTF8 types and Identity by default).
-
SQLSERVER17
public static final Platform SQLSERVER17
Microsoft SQL Server 2017 platform (UTF8 types and Sequence).
-
-
Method Detail
-
values
public static Platform[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Platform c : Platform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Platform valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-