|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.sql.Datum
oracle.sql.DatumWithConnection
public abstract class DatumWithConnection
A supper class for some Oracle specific datatypes, such as BFILE, BLOB, etc.
Field Summary | |
---|---|
static boolean |
TRACE |
Constructor Summary | |
---|---|
DatumWithConnection() |
|
DatumWithConnection(byte[] elements) |
Method Summary | |
---|---|
static void |
assertNotNull(java.sql.Connection conn) |
static void |
assertNotNull(TypeDescriptor desc) |
oracle.jdbc.driver.OracleConnection |
getConnection() Deprecated. since 9.0.0. Use or , or Use instead. |
java.sql.Connection |
getJavaSqlConnection() Oracle extension Return the java.sql.Connection associated with the receiver. |
OracleConnection |
getOracleConnection() Oracle extension. |
Methods inherited from class oracle.sql.Datum |
---|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, isConvertibleTo, longValue, makeJdbcArray, setBytes, setShareBytes, shareBytes, stringValue, stringValue, timestampValue, timestampValue, timeValue, timeValue, toJdbc |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jdbc.internal.OracleDatumWithConnection |
---|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, doubleValue, floatValue, getBytes, getInternalConnection, getLength, getStream, intValue, isConvertibleTo, longValue, makeJdbcArray, setBytes, setShareBytes, shareBytes, stringValue, stringValue, timestampValue, timestampValue, timeValue, timeValue, toJdbc |
Field Detail |
---|
public static final boolean TRACE
Constructor Detail |
---|
public DatumWithConnection(byte[] elements) throws java.sql.SQLException
java.sql.SQLException
public DatumWithConnection()
Method Detail |
---|
public static void assertNotNull(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public static void assertNotNull(TypeDescriptor desc) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection getJavaSqlConnection() throws java.sql.SQLException
getJavaSqlConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
java.sql.SQLException
- if an error occurspublic OracleConnection getOracleConnection() throws java.sql.SQLException
getOracleConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
java.sql.SQLException
- if an error occurspublic oracle.jdbc.driver.OracleConnection getConnection() throws java.sql.SQLException
getJavaSqlConnection()
or getInternalConnection()
, or Use getOracleConnection()
instead.getConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
java.sql.SQLException
- if the connection is not assignment compatible
|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |