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, toJdbc
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected DatumWithConnection targetDatumWithConnection
public DatumWithConnection(byte[] elements) throws SQLException
SQLException
public DatumWithConnection()
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.OracleDatumWithConnection
SQLException
- if an error occurspublic OracleConnection getOracleConnection() throws SQLException
getOracleConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
SQLException
- if an error occurspublic oracle.jdbc.driver.OracleConnection getConnection() throws SQLException
getJavaSqlConnection()
or getInternalConnection()
, or Use getOracleConnection()
instead.getConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
SQLException
- if the connection is not assignment compatibleprotected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()
getConnectionDuringExceptionHandling
in class Datum