public enum Vendor extends Enum<Vendor>
| Enum Constant and Description |
|---|
MYSQL |
ORACLE |
OTHER |
POSTGRES |
SQLSERVER |
| Modifier and Type | Method and Description |
|---|---|
static Vendor |
fromDatabaseMetadata(DatabaseMetaData metadata)
Get database vendor from databases metadatas
|
static Vendor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vendor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vendor ORACLE
public static final Vendor SQLSERVER
public static final Vendor POSTGRES
public static final Vendor MYSQL
public static final Vendor OTHER
public static Vendor[] values()
for (Vendor c : Vendor.values()) System.out.println(c);
public static Vendor valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Vendor fromDatabaseMetadata(DatabaseMetaData metadata) throws SQLException
SQLExceptionCopyright © 2019 Bonitasoft S.A.. All rights reserved.