package io.ebean.annotation;
Built in supported platforms.
/**
* Built in supported platforms.
*/
public enum Platform {
Generic platform configured via properties or code.
/**
* Generic platform configured via properties or code.
*/
GENERIC,
DB2.
/**
* DB2.
*/
DB2,
CockroachDB.
/**
* CockroachDB.
*/
COCKROACH,
ClickHouse.
/**
* ClickHouse.
*/
CLICKHOUSE,
H2.
/**
* H2.
*/
H2,
HsqlDB.
/**
* HsqlDB.
*/
HSQLDB,
Postgres preferred platform for 10+.
/**
* Postgres preferred platform for 10+.
*/
POSTGRES,
Postgres 9.
/**
* Postgres 9.
*/
POSTGRES9(POSTGRES),
MySql.
/**
* MySql.
*/
MYSQL,
MySql 5.5.
/**
* MySql 5.5.
*/
MYSQL55(MYSQL),
MariaDB.
/**
* MariaDB.
*/
MARIADB,
NuoDB.
/**
* NuoDB.
*/
NUODB,
Oracle preferred platform 12c and higher.
/**
* Oracle preferred platform 12c and higher.
*/
ORACLE,
Oracle 11 platform.
/**
* Oracle 11 platform.
*/
ORACLE11(ORACLE),
SQLAnywhere.
/**
* SQLAnywhere.
*/
SQLANYWHERE,
SQLite.
/**
* SQLite.
*/
SQLITE,
Microsoft SQL Server (preferred platform 2017).
/**
* Microsoft SQL Server (preferred platform 2017).
*/
SQLSERVER,
Microsoft SQL Server 2016 platform (Non UTF8 types and Identity by default).
/**
* Microsoft SQL Server 2016 platform (Non UTF8 types and Identity by default).
*/
SQLSERVER16(SQLSERVER),
Microsoft SQL Server 2017 platform (UTF8 types and Sequence).
/**
* Microsoft SQL Server 2017 platform (UTF8 types and Sequence).
*/
SQLSERVER17(SQLSERVER),
SAP HANA
/**
* SAP HANA
*/
HANA;
private Platform base;
Platform() {
this.base = this;
}
Platform(Platform base) {
this.base = base;
}
Return the base platform.
/**
* Return the base platform.
*/
public Platform base() {
return base;
}
}