public class JDBCAdapter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
clearStatementCache(java.sql.Connection conn) |
static void |
closeOracleConnection(oracle.jdbc.OracleConnection conn) |
static oracle.sql.ArrayDescriptor |
getArrayDescriptor(java.lang.Object obj)
Deprecated.
Use OracleConnection.createOracleArray(...);
|
static javax.sql.DataSource[] |
getDataSource(java.lang.String... dataSourceName) |
static oracle.spatial.geometry.JGeometry |
getJGeometry(java.lang.Object obj) |
static oracle.sql.Datum[] |
getOracleArray(java.lang.Object obj)
Deprecated.
Use java.sql.Array array = resultSet.getArray(...);
|
static oracle.sql.Datum[] |
getOracleAttributes(java.lang.Object obj)
Deprecated.
Use java.sql.Struct.getAttributes();
|
static oracle.jdbc.OracleConnection |
getOracleConnection(java.sql.Connection conn) |
static oracle.sql.StructDescriptor |
getStructDescriptor(java.lang.Object obj) |
static oracle.xdb.XMLType |
getXMLType(java.lang.Object obj)
Deprecated.
Use SQLXML newXML = resultSet.getSQLXML(columnNumber);
|
static void |
initialize(JDBCExtensionInterface oracleExtension)
This method should be called before any interaction with the db.
|
public static void initialize(JDBCExtensionInterface oracleExtension)
oracleExtension
- public static oracle.jdbc.OracleConnection getOracleConnection(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public static void clearStatementCache(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public static oracle.spatial.geometry.JGeometry getJGeometry(java.lang.Object obj) throws java.sql.SQLException
java.sql.SQLException
public static oracle.sql.Datum[] getOracleAttributes(java.lang.Object obj) throws java.sql.SQLException
obj
- java.sql.SQLException
public static oracle.sql.StructDescriptor getStructDescriptor(java.lang.Object obj) throws java.sql.SQLException
java.sql.SQLException
public static oracle.sql.Datum[] getOracleArray(java.lang.Object obj) throws java.sql.SQLException
obj
- java.sql.SQLException
public static oracle.sql.ArrayDescriptor getArrayDescriptor(java.lang.Object obj) throws java.sql.SQLException
obj
- java.sql.SQLException
public static void closeOracleConnection(oracle.jdbc.OracleConnection conn) throws java.sql.SQLException
java.sql.SQLException
public static javax.sql.DataSource[] getDataSource(java.lang.String... dataSourceName)
public static oracle.xdb.XMLType getXMLType(java.lang.Object obj) throws java.sql.SQLException
obj
- java.sql.SQLException