public abstract class DatumWithConnection extends Datum implements oracle.jdbc.internal.OracleDatumWithConnection
| Modifier and Type | Field and Description |
|---|---|
protected DatumWithConnection |
targetDatumWithConnection |
ojiOracleDatumWithConnection, targetDatum| Constructor and Description |
|---|
DatumWithConnection() |
DatumWithConnection(byte[] elements) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, bytesEqual, bytesHashCode, 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, toJdbcclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasciiStreamValue, 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, toJdbcprotected DatumWithConnection targetDatumWithConnection
public DatumWithConnection(byte[] elements)
throws SQLException
SQLExceptionpublic DatumWithConnection()
public static void assertNotNull(Connection conn) throws SQLException
SQLExceptionpublic static void assertNotNull(TypeDescriptor desc) throws SQLException
SQLExceptionpublic Connection getJavaSqlConnection() throws SQLException
getJavaSqlConnection in interface oracle.jdbc.internal.OracleDatumWithConnectionSQLException - if an error occurspublic OracleConnection getOracleConnection() throws SQLException
getOracleConnection in interface oracle.jdbc.internal.OracleDatumWithConnectionSQLException - if an error occurspublic 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