|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.sql.Datum | +--oracle.sql.OPAQUE
Constructor Summary | |
OPAQUE(OpaqueDescriptor type,
java.sql.Connection conn,
java.lang.Object value)
Constructor. |
Method Summary | |
byte[] |
getBytesValue()
Return a byte array that represents the attributes into the format that is actually used in the database. |
OracleConnection |
getConnection()
Deprecated. since 9.0.0. Use getJavaSqlConnection() instead. |
OpaqueDescriptor |
getDescriptor()
Oracle extension. |
java.sql.Connection |
getJavaSqlConnection()
Oracle extension Return the java.sql.Connection associated with the receiver. |
java.lang.String |
getSQLTypeName()
Implements the Struct interface function Retrieves the SQL type name of the SQL structured type that this Struct object represents. |
java.lang.Object |
getValue()
Return the Opaque value. |
boolean |
isConvertibleTo(java.lang.Class jClass)
Determines if datum object can be converted to a particular class |
java.lang.Object |
toJdbc()
Returns the JDBC representation of the datum object |
Methods inherited from class oracle.sql.Datum |
asciiStreamValue,
bigDecimalValue,
binaryStreamValue,
booleanValue,
byteValue,
characterStreamValue,
dateValue,
doubleValue,
equals,
floatValue,
getBytes,
getLength,
getStream,
intValue,
longValue,
makeJdbcArray,
setBytes,
setShareBytes,
shareBytes,
stringValue,
timestampValue,
timeValue |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public OPAQUE(OpaqueDescriptor type, java.sql.Connection conn, java.lang.Object value) throws java.sql.SQLException
type
- the SQLStructType used to convert the type toattributes
- the array specifying the attributes to be
converted to raw bytes.oracle.sql.SQLStructType
Method Detail |
public java.lang.String getSQLTypeName() throws java.sql.SQLException
Struct
object represents.public OpaqueDescriptor getDescriptor() throws java.sql.SQLException
public java.sql.Connection getJavaSqlConnection() throws java.sql.SQLException
public OracleConnection getConnection() throws java.sql.SQLException
getJavaSqlConnection()
instead.public java.lang.Object getValue() throws java.sql.SQLException
public byte[] getBytesValue() throws java.sql.SQLException
public boolean isConvertibleTo(java.lang.Class jClass)
cls
- Class to convert topublic java.lang.Object toJdbc() throws java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |