Serializable
, Comparable<OracleType>
, SQLType
public enum OracleType extends Enum<OracleType> implements SQLType
Enum Constant | Description |
---|---|
ANYDATA |
|
ANYDATASET |
|
ANYTYPE |
|
BFILE |
|
BINARY_DOUBLE |
|
BINARY_FLOAT |
|
BLOB |
|
CHAR |
|
CLOB |
|
DATE |
|
DBURITYPE |
|
FLOAT |
|
HTTPURITYPE |
|
INTERVAL_DAY_TO_SECOND |
|
INTERVAL_YEAR_TO_MONTH |
|
LONG |
|
LONG_RAW |
|
NCHAR |
|
NCLOB |
|
NESTED_TABLE |
|
NUMBER |
|
NVARCHAR |
|
OBJECT |
|
ORDAUDIO |
|
ORDDICOM |
|
ORDDOC |
|
ORDIMAGE |
|
ORDVIDEO |
|
PLSQL_BOOLEAN |
PLSQL_BOOLEAN binds BOOLEAN type for input/output parameters when executing a PLSQL function/procedure.
|
RAW |
|
REF |
|
ROWID |
|
SDO_GEOMETRY |
|
SDO_GEORASTER |
|
SDO_TOPO_GEOMETRY |
|
SI_AVERAGE_COLOR |
|
SI_COLOR |
|
SI_COLOR_HISTOGRAM |
|
SI_FEATURE_LIST |
|
SI_POSITIONAL_COLOR |
|
SI_STILL_IMAGE |
|
SI_TEXTURE |
|
TIMESTAMP |
|
TIMESTAMP_WITH_LOCAL_TIME_ZONE |
|
TIMESTAMP_WITH_TIME_ZONE |
|
UROWID |
|
VARCHAR2 |
|
VARRAY |
|
XDBURITYPE |
|
XMLTYPE |
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
|
String |
getVendor() |
|
Integer |
getVendorTypeNumber() |
|
boolean |
isNationalCharacterSet() |
Does this type use the national character set?
|
boolean |
isSupported() |
Does this driver support this database type?
|
static OracleType |
toOracleType(int oracleTypesConst) |
Returns the OracleType corresponding to the int constant defined in OracleTypes.
|
static OracleType |
toOracleType(SQLType sqlType) |
Returns the OracleType corresponding to SQLType.
|
static OracleType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OracleType[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OracleType VARCHAR2
public static final OracleType NVARCHAR
public static final OracleType NUMBER
public static final OracleType FLOAT
public static final OracleType LONG
public static final OracleType DATE
public static final OracleType BINARY_FLOAT
public static final OracleType BINARY_DOUBLE
public static final OracleType TIMESTAMP
public static final OracleType TIMESTAMP_WITH_TIME_ZONE
public static final OracleType TIMESTAMP_WITH_LOCAL_TIME_ZONE
public static final OracleType INTERVAL_YEAR_TO_MONTH
public static final OracleType INTERVAL_DAY_TO_SECOND
public static final OracleType PLSQL_BOOLEAN
public static final OracleType RAW
public static final OracleType LONG_RAW
public static final OracleType ROWID
public static final OracleType UROWID
public static final OracleType CHAR
public static final OracleType NCHAR
public static final OracleType CLOB
public static final OracleType NCLOB
public static final OracleType BLOB
public static final OracleType BFILE
public static final OracleType OBJECT
public static final OracleType REF
public static final OracleType VARRAY
public static final OracleType NESTED_TABLE
public static final OracleType ANYTYPE
public static final OracleType ANYDATA
public static final OracleType ANYDATASET
public static final OracleType XMLTYPE
public static final OracleType HTTPURITYPE
public static final OracleType XDBURITYPE
public static final OracleType DBURITYPE
public static final OracleType SDO_GEOMETRY
public static final OracleType SDO_TOPO_GEOMETRY
public static final OracleType SDO_GEORASTER
public static final OracleType ORDAUDIO
public static final OracleType ORDDICOM
public static final OracleType ORDDOC
public static final OracleType ORDIMAGE
public static final OracleType ORDVIDEO
public static final OracleType SI_AVERAGE_COLOR
public static final OracleType SI_COLOR
public static final OracleType SI_COLOR_HISTOGRAM
public static final OracleType SI_FEATURE_LIST
public static final OracleType SI_POSITIONAL_COLOR
public static final OracleType SI_STILL_IMAGE
public static final OracleType SI_TEXTURE
public static OracleType[] values()
for (OracleType c : OracleType.values()) System.out.println(c);
public static OracleType 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 OracleType toOracleType(SQLType sqlType) throws SQLException
sqlType
-SQLException
public static OracleType toOracleType(int oracleTypesConst) throws SQLException
oracleTypesConst
- an int value defined in OracleTypes.SQLException
- if there is no corresponding OracleType.public Integer getVendorTypeNumber()
getVendorTypeNumber
in interface SQLType
public boolean isNationalCharacterSet()
public boolean isSupported()