public enum OracleType extends java.lang.Enum<OracleType> implements java.sql.SQLType
| Enum Constant and Description |
|---|
ANYDATA |
ANYDATASET |
ANYTYPE |
BFILE |
BINARY_DOUBLE |
BINARY_FLOAT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
DATE |
DBURITYPE |
FLOAT |
HTTPURITYPE |
INTERVAL_DAY_TO_SECOND |
INTERVAL_YEAR_TO_MONTH |
JSON |
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 |
UNSPECIFIED |
UROWID |
VARCHAR2 |
VARRAY |
XDBURITYPE |
XMLTYPE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getVendor() |
java.lang.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(java.sql.SQLType sqlType)
Returns the OracleType corresponding to SQLType.
|
static OracleType |
valueOf(java.lang.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 JSON
public static final OracleType BOOLEAN
public static final OracleType UNSPECIFIED
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(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 OracleType toOracleType(java.sql.SQLType sqlType) throws java.sql.SQLException
sqlType is an instance of OracleType, this method returns
the sqlType object. If the provided sqlType is an instance
of JDBCType having a
vendor type number equal to
the vendor type number of an OracleType, this method returns that
corresponding OracleType. Otherwise, if no corresponding
OracleType exists for the sqlType, this method throws
a SQLException.sqlType - A SQLType. Not null.java.sql.SQLException - If no OracleType corresponds to sqlTypepublic static OracleType toOracleType(int oracleTypesConst) throws java.sql.SQLException
OracleTypes.oracleTypesConst - an int value defined in OracleTypes.java.sql.SQLException - if there is no corresponding OracleType.public java.lang.String getName()
getName in interface java.sql.SQLTypepublic java.lang.String getVendor()
getVendor in interface java.sql.SQLTypepublic java.lang.Integer getVendorTypeNumber()
getVendorTypeNumber in interface java.sql.SQLTypepublic boolean isNationalCharacterSet()
public boolean isSupported()