protected static enum UnregisteredDriver.JdbcVersion extends Enum<UnregisteredDriver.JdbcVersion>
Enum Constant and Description |
---|
JDBC_30
JDBC version 3.0.
|
JDBC_40
JDBC version 4.0.
|
JDBC_41
JDBC version 4.1.
|
JDBC_UNKNOWN
Unknown JDBC version.
|
Modifier and Type | Method and Description |
---|---|
static UnregisteredDriver.JdbcVersion |
current()
Deduces the current JDBC version.
|
static UnregisteredDriver.JdbcVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnregisteredDriver.JdbcVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnregisteredDriver.JdbcVersion JDBC_UNKNOWN
public static final UnregisteredDriver.JdbcVersion JDBC_30
public static final UnregisteredDriver.JdbcVersion JDBC_40
public static final UnregisteredDriver.JdbcVersion JDBC_41
public static UnregisteredDriver.JdbcVersion[] values()
for (UnregisteredDriver.JdbcVersion c : UnregisteredDriver.JdbcVersion.values()) System.out.println(c);
public static UnregisteredDriver.JdbcVersion 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 UnregisteredDriver.JdbcVersion current()
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.