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(java.sql.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() |
java.sql.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 java.sql.SQLException
java.sql.SQLException
public DatumWithConnection()
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 compatibleprotected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()
getConnectionDuringExceptionHandling
in class Datum