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 Details

    • GENERIC

      public static final Platform GENERIC
      Generic platform configured via properties or code.
    • CUSTOM

      public static final Platform CUSTOM
      Custom platform provided externally.
    • DB2

      public static final Platform DB2
      DB2.
    • DB2FORI

      public static final Platform DB2FORI
      Db2 for iSeries.
    • DB2LUW

      public static final Platform DB2LUW
      Db2 for Linux/Unix/Windows.
    • DB2ZOS

      public static final Platform DB2ZOS
      DB2 for z/OS.
    • COCKROACH

      public static final Platform COCKROACH
      CockroachDB.
    • CLICKHOUSE

      public static final Platform CLICKHOUSE
      ClickHouse.
    • H2

      public static final Platform H2
      H2.
    • HSQLDB

      public static final Platform HSQLDB
      HsqlDB.
    • POSTGRES

      public static final Platform POSTGRES
      Postgres preferred platform for 10+.
    • POSTGRES9

      public static final Platform POSTGRES9
      Postgres 9.
    • MYSQL

      public static final Platform MYSQL
      MySql.
    • MYSQL55

      public static final Platform MYSQL55
      MySql 5.5.
    • MARIADB

      public static final Platform MARIADB
      MariaDB.
    • NUODB

      public static final Platform NUODB
      NuoDB.
    • ORACLE

      public static final Platform ORACLE
      Oracle preferred platform 18c and higher.
    • ORACLE11

      public static final Platform ORACLE11
      Oracle 11 platform.
    • ORACLE12

      public static final Platform ORACLE12
      Oracle 12 platform.
    • SQLANYWHERE

      public static final Platform SQLANYWHERE
      SQLAnywhere.
    • SQLITE

      public static final Platform SQLITE
      SQLite.
    • SQLSERVER

      public static final Platform SQLSERVER
      Microsoft SQL Server (preferred platform 2017).
    • 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).
    • HANA

      public static final Platform HANA
      SAP HANA
    • YUGABYTE

      public static final Platform YUGABYTE
      Yugabyte DB.
  • Method Details

    • values

      public static Platform[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • base

      public Platform base()
      Return the base platform.
      Returns:
      the platform