Package org.hibernate.dialect
Enum SybaseDriverKind
- java.lang.Object
- java.lang.Enum<SybaseDriverKind>
- org.hibernate.dialect.SybaseDriverKind
- All Implemented Interfaces:
Serializable,Comparable<SybaseDriverKind>
public enumSybaseDriverKindextendsEnum<SybaseDriverKind>
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description staticSybaseDriverKinddetermineKind(DialectResolutionInfo dialectResolutionInfo)staticSybaseDriverKindvalueOf(String name)Returns the enum constant of this type with the specified name.staticSybaseDriverKind[]values()Returns an array containing the constants of this enum type, inthe order they are declared.
Enum Constant Detail
JCONNECT
public static final SybaseDriverKind JCONNECT
JTDS
public static final SybaseDriverKind JTDS
OTHER
public static final SybaseDriverKind OTHER
Method Detail
values
public static SybaseDriverKind[] values()
Returns an array containing the constants of this enum type, inthe order they are declared. This method may be used to iterateover the constants as follows:for (SybaseDriverKind c : SybaseDriverKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static SybaseDriverKind valueOf(String name)
Returns the enum constant of this type with the specified name.The string must matchexactly an identifier used to declare anenum 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 nameNullPointerException- if the argument is null
determineKind
public static SybaseDriverKind determineKind(DialectResolutionInfo dialectResolutionInfo)