| Enum Constant and Description |
|---|
MYSQL |
ORACLE |
OTHER |
POSTGRES |
SQLSERVER |
| Modifier and Type | Method and Description |
|---|---|
static Vendor |
fromDatabaseMetadata(java.sql.DatabaseMetaData metadata)
Get database vendor from databases metadata
|
static Vendor |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Vendor fromDatabaseMetadata(java.sql.DatabaseMetaData metadata) throws java.sql.SQLException
java.sql.SQLException