Enum Class Vendor

java.lang.Object
java.lang.Enum<Vendor>
org.bonitasoft.engine.services.Vendor
All Implemented Interfaces:
Serializable, Comparable<Vendor>, Constable

public enum Vendor extends Enum<Vendor>
Author:
Baptiste Mesta
  • Enum Constant Details

    • ORACLE

      public static final Vendor ORACLE
    • SQLSERVER

      public static final Vendor SQLSERVER
    • POSTGRES

      public static final Vendor POSTGRES
    • MYSQL

      public static final Vendor MYSQL
    • OTHER

      public static final Vendor OTHER
  • Method Details

    • values

      public static Vendor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Vendor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDatabaseMetadata

      public static Vendor fromDatabaseMetadata(DatabaseMetaData metadata) throws SQLException
      Get database vendor from databases metadata
      Throws:
      SQLException
    • fromHibernateConfiguration

      public static Vendor fromHibernateConfiguration(org.hibernate.cfg.Configuration configuration)
      Get database vendor from databases metadata
    • fromHibernateDialectProperty

      public static Vendor fromHibernateDialectProperty(String hibernateDialect)