Package oracle.spatial.georaster.util
Class GeorUtil
- java.lang.Object
-
- oracle.spatial.georaster.util.GeorUtil
-
public class GeorUtil extends java.lang.Object- Since:
- release specific (what release of product did this appear in)
-
-
Constructor Summary
Constructors Constructor Description GeorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static oracle.jdbc.OracleCallableStatementgetOracleCallableStatement(java.sql.CallableStatement callableStatement)This method takes aCallableStatementand return aOracleCallableStatement.static oracle.jdbc.OracleConnectiongetOracleConnection(java.sql.Connection connection)This method takes aConnectionand return aOracleConnection.
-
-
-
Method Detail
-
getOracleConnection
public static oracle.jdbc.OracleConnection getOracleConnection(java.sql.Connection connection) throws java.sql.SQLExceptionThis method takes aConnectionand return aOracleConnection. When running inside a container like Tomcat or WebLogic the connection object can't be directly casted, unwrap should be invoked and this methods does it.- Parameters:
connection- an instance of java.sql.Connection- Returns:
- an OracleConnection instance.
- Throws:
java.sql.SQLException- When an OracleConnection can't be returned.
-
getOracleCallableStatement
public static oracle.jdbc.OracleCallableStatement getOracleCallableStatement(java.sql.CallableStatement callableStatement) throws java.sql.SQLExceptionThis method takes aCallableStatementand return aOracleCallableStatement. When running inside a container like Tomcat or WebLogic the connection object can't be directly casted, unwrap should be invoked and this methods does it.- Parameters:
callableStatement- an instance of java.sql.Connection- Returns:
- an OracleCallableStatement instance.
- Throws:
java.sql.SQLException- When an OracleConnection can't be returned.
-
-