|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
| 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(Connection conn) |
static void |
assertNotNull(TypeDescriptor desc) |
oracle.jdbc.driver.OracleConnection |
getConnection()Deprecated. since 9.0.0. Use or , or Use instead. |
protected oracle.jdbc.internal.OracleConnection |
getConnectionDuringExceptionHandling() |
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, bytesEqual, byteValue, characterStreamValue, compareBytes, dateValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, isConvertibleTo, isNull, longValue, makeJdbcArray, setBytes, setShareBytes, shareBytes, stringValue, stringValue, timestampValue, timestampValue, timeValue, timeValue, toClass, toJdbc |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, 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 SQLException
SQLExceptionpublic DatumWithConnection()
| Method Detail |
|---|
public static void assertNotNull(Connection conn)
throws SQLException
SQLException
public static void assertNotNull(TypeDescriptor desc)
throws SQLException
SQLException
public Connection getJavaSqlConnection()
throws SQLException
getJavaSqlConnection in interface oracle.jdbc.internal.OracleDatumWithConnectionSQLException - if an error occurs
public OracleConnection getOracleConnection()
throws SQLException
getOracleConnection in interface oracle.jdbc.internal.OracleDatumWithConnectionSQLException - if an error occurs
public oracle.jdbc.driver.OracleConnection getConnection()
throws SQLException
getJavaSqlConnection() or getInternalConnection(), or Use getOracleConnection() instead.getConnection in interface oracle.jdbc.internal.OracleDatumWithConnectionSQLException - if the connection is not assignment compatibleprotected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()
getConnectionDuringExceptionHandling in class Datum
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||