Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.util
Class JDBCUtil

java.lang.Object
  extended by oracle.spatial.util.JDBCUtil


public class JDBCUtil
extends java.lang.Object

Constructor Summary
JDBCUtil()
           

 

Method Summary
static STRUCT getOracleSTRUCT(java.lang.Object o)
          Returns oracle.sql.STRUCT while running within WLS or any J2EE container such as OC4J, JBoss etc.
static STRUCT getOracleSTRUCT(java.sql.ResultSet rs, int columnIndex)
          Returns oracle.sql.STRUCT while running within WLS or any J2EE container such as OC4J, JBoss etc.
static ARRAY safeCastARRAY(java.lang.Object o)
          Returns oracle.sql.ARRAY while running within WLS or any J2EE container such as OC4J, JBoss etc.
static ARRAY safeCastARRAY(java.sql.ResultSet rs, int columnIndex)
          Returns oracle.sql.ARRAY while running within WLS or any J2EE container such as OC4J, JBoss etc.
static BLOB safeCastBLOB(java.sql.Blob blob)
          Returns oracle.sql.BLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
static BLOB safeCastBLOB(java.sql.ResultSet rs, int columnIndex)
          Returns oracle.sql.BLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
static CLOB safeCastCLOB(java.sql.Clob clob)
          Returns oracle.sql.CLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
static CLOB safeCastCLOB(java.sql.ResultSet rs, int columnIndex)
          Returns oracle.sql.CLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JDBCUtil

public JDBCUtil()

Method Detail

getOracleSTRUCT

public static STRUCT getOracleSTRUCT(java.sql.ResultSet rs,
                                     int columnIndex)
                              throws java.lang.Exception
Returns oracle.sql.STRUCT while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
rs - ResultSet
columnIndex - Index of the column
Returns:
Throws:
java.lang.Exception

getOracleSTRUCT

public static STRUCT getOracleSTRUCT(java.lang.Object o)
                              throws java.lang.Exception
Returns oracle.sql.STRUCT while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
o - object in a result set
Returns:
Throws:
java.lang.Exception

safeCastCLOB

public static CLOB safeCastCLOB(java.sql.ResultSet rs,
                                int columnIndex)
                         throws java.lang.Exception
Returns oracle.sql.CLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
rs -
columnIndex -
Returns:
Throws:
java.lang.Exception

safeCastCLOB

public static CLOB safeCastCLOB(java.sql.Clob clob)
                         throws java.lang.Exception
Returns oracle.sql.CLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
clob - clob in a result set
Returns:
Throws:
java.lang.Exception

safeCastBLOB

public static BLOB safeCastBLOB(java.sql.ResultSet rs,
                                int columnIndex)
                         throws java.lang.Exception
Returns oracle.sql.BLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
rs -
columnIndex -
Returns:
Throws:
java.lang.Exception

safeCastBLOB

public static BLOB safeCastBLOB(java.sql.Blob blob)
                         throws java.lang.Exception
Returns oracle.sql.BLOB while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
blob - blob in a result set
Returns:
Throws:
java.lang.Exception

safeCastARRAY

public static ARRAY safeCastARRAY(java.sql.ResultSet rs,
                                  int columnIndex)
                           throws java.lang.Exception
Returns oracle.sql.ARRAY while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
rs -
columnIndex -
Returns:
Throws:
java.lang.Exception

safeCastARRAY

public static ARRAY safeCastARRAY(java.lang.Object o)
                           throws java.lang.Exception
Returns oracle.sql.ARRAY while running within WLS or any J2EE container such as OC4J, JBoss etc.
Parameters:
o - oracle.sql.ARRAY object in a result set
Returns:
Throws:
java.lang.Exception

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.