Class OracleProcedureCallHandler

  • All Implemented Interfaces:
    ProcedureCallHandler

    public class OracleProcedureCallHandler
    extends java.lang.Object
    implements ProcedureCallHandler
    Author:
    Barry Klawans (bklawans@users.sourceforge.net)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.ResultSet execute()  
      void init​(java.sql.CallableStatement statement)  
      protected boolean isDataDirectDriver()  
      protected static boolean isOracle​(java.sql.Connection connection)  
      boolean setParameterValue​(int parameterIndex, java.lang.Class<?> type, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OracleProcedureCallHandler

        public OracleProcedureCallHandler()
    • Method Detail

      • isOracle

        protected static boolean isOracle​(java.sql.Connection connection)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • init

        public void init​(java.sql.CallableStatement statement)
        Specified by:
        init in interface ProcedureCallHandler
      • isDataDirectDriver

        protected boolean isDataDirectDriver()
      • setParameterValue

        public boolean setParameterValue​(int parameterIndex,
                                         java.lang.Class<?> type,
                                         java.lang.Object value)
                                  throws java.sql.SQLException
        Specified by:
        setParameterValue in interface ProcedureCallHandler
        Throws:
        java.sql.SQLException
      • execute

        public java.sql.ResultSet execute()
                                   throws java.sql.SQLException
        Specified by:
        execute in interface ProcedureCallHandler
        Throws:
        java.sql.SQLException