public class OpaqueDescriptor extends TypeDescriptor implements oracle.jdbc.internal.OracleTypeMetaData.Opaque, java.io.Serializable
oracle.jdbc.internal.OracleTypeMetaData.Array, oracle.jdbc.internal.OracleTypeMetaData.Opaque, oracle.jdbc.internal.OracleTypeMetaData.Struct
OracleTypeMetaData.ArrayStorage, OracleTypeMetaData.Kind
ANYDATASETTOID, ANYDATATOID, ANYTYPETOID, DEBUG_SERIALIZATION, JSONTOID, KOIDFLEN, RAWTOID, TYPECODE_BDOUBLE, TYPECODE_BFILE, TYPECODE_BFLOAT, TYPECODE_BLOB, TYPECODE_BOOLEAN, TYPECODE_CFILE, TYPECODE_CHAR, TYPECODE_CLOB, TYPECODE_DATE, TYPECODE_DECIMAL, TYPECODE_DOUBLE, TYPECODE_ERRHP, TYPECODE_FLOAT, TYPECODE_INTEGER, TYPECODE_INTERVAL_DS, TYPECODE_INTERVAL_YM, TYPECODE_ITABLE, TYPECODE_JDBC_ARRAY, TYPECODE_JDBC_JOBJECT, TYPECODE_JDBC_JOPAQUE, TYPECODE_JDBC_JSTRUCT, TYPECODE_JDBC_REF, TYPECODE_JDBC_STRUCT, TYPECODE_MLSLABEL, TYPECODE_NAMEDCOLLECTION, TYPECODE_NCHAR, TYPECODE_NCLOB, TYPECODE_NONE, TYPECODE_NUMBER, TYPECODE_NVARCHAR2, TYPECODE_OBJECT, TYPECODE_OCTET, TYPECODE_OPAQUE, TYPECODE_OTMFIRST, TYPECODE_OTMLAST, TYPECODE_PLS_INTEGER, TYPECODE_PTR, TYPECODE_RAW, TYPECODE_REAL, TYPECODE_RECORD, TYPECODE_REF, TYPECODE_SIGNED16, TYPECODE_SIGNED32, TYPECODE_SIGNED8, TYPECODE_SMALLINT, TYPECODE_SQLXML, TYPECODE_SYSFIRST, TYPECODE_SYSLAST, TYPECODE_TABLE, TYPECODE_TIME, TYPECODE_TIME_TZ, TYPECODE_TIMESTAMP, TYPECODE_TIMESTAMP_LTZ, TYPECODE_TIMESTAMP_TZ, TYPECODE_UNSIGNED16, TYPECODE_UNSIGNED32, TYPECODE_UNSIGNED8, TYPECODE_UROWID, TYPECODE_VARCHAR, TYPECODE_VARCHAR2, TYPECODE_VARRAY, XMLTYPETOID
Modifier and Type | Method and Description |
---|---|
static OpaqueDescriptor |
createDescriptor(oracle.sql.SQLName sqlName,
java.sql.Connection conn)
Deprecated.
Descriptor factory.
|
static OpaqueDescriptor |
createDescriptor(java.lang.String name,
java.sql.Connection conn)
Deprecated.
Descriptor factory.
|
java.lang.String |
descType()
Deprecated.
Describe this type.
|
OracleTypeMetaData.Kind |
getKind()
Deprecated.
Return the kind of type.
|
long |
getMaxLength()
Deprecated.
Return the maximun number of bytes this opaque object can hold.
|
int |
getTypeCode()
Deprecated.
Return the type code: OracleTypes.SQLXML if type is SYS.XMLTYPE
else return the OPAQUE type code OracleTypes.OPAQUE
|
boolean |
hasFixedSize()
Deprecated.
Indicates whether the Opaque type has fixed size.
|
boolean |
hasUnboundedSize()
Deprecated.
Indicates whether the Opaque type has unbounded size ().
|
boolean |
isModeledInC()
Deprecated.
Indicates whether the Opaque type is modelled in C language.
|
boolean |
isTrustedLibrary()
Deprecated.
Indicates whether the Trusted Library implementing Support
functions are specified for the Opaque type.
|
convToUpperCase, getConnectionDuringExceptionHandling, getDiagnosable, getInternalTypeCode, getName, getPrecision, getScale, getSubtypeName, getTypeCodeName, getTypeDescriptor, initMetadataRecursively, initNamesRecursively, isTransient, isV2available, printXML, printXML, setConnection, setPrecision, setScale, toDatum, toJDBCObject, toXMLString, toXMLString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getSchemaName, getSQLName, getTypeCodeName
begin, beginCurrentSql, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debugp, end, endCurrentSql, format, isDebugEnabled, isDiagnoseFirstFailureEnabled, isLoggable, isSensitiveEnabled, onClose, propertyChange, resumeLogging, secure, suspendLogging, trace, tracep
public static OpaqueDescriptor createDescriptor(java.lang.String name, java.sql.Connection conn) throws java.sql.SQLException
name
- a String naming the type. (Not necessarily fully qualified)conn
- a Connection to a databasename
java.sql.SQLException
- if a database error occurspublic static OpaqueDescriptor createDescriptor(oracle.sql.SQLName sqlName, java.sql.Connection conn) throws java.sql.SQLException
name
- a SQLNameconnection
- a Connection to a databasejava.sql.SQLException
public OracleTypeMetaData.Kind getKind()
OracleTypeMetaData
getKind
in interface OracleTypeMetaData
getKind
in class TypeDescriptor
public int getTypeCode() throws java.sql.SQLException
getTypeCode
in interface OracleTypeMetaData
getTypeCode
in class TypeDescriptor
java.sql.SQLException
public long getMaxLength() throws java.sql.SQLException
getMaxLength
in interface OracleTypeMetaData.Opaque
java.sql.SQLException
public boolean isTrustedLibrary() throws java.sql.SQLException
isTrustedLibrary
in interface OracleTypeMetaData.Opaque
java.sql.SQLException
public boolean isModeledInC() throws java.sql.SQLException
isModeledInC
in interface OracleTypeMetaData.Opaque
java.sql.SQLException
public boolean hasUnboundedSize() throws java.sql.SQLException
hasUnboundedSize
in interface OracleTypeMetaData.Opaque
java.sql.SQLException
public boolean hasFixedSize() throws java.sql.SQLException
hasFixedSize
in interface OracleTypeMetaData.Opaque
java.sql.SQLException
public java.lang.String descType() throws java.sql.SQLException
java.sql.SQLException