com.northgateis.reality.realsql
Class RealPrepareSQLR81

java.lang.Object
 |
 +--com.northgateis.reality.realsql.RealPrepareSQL
        |
 +--com.northgateis.reality.realsql.RealPrepareSQLR81

public class RealPrepareSQLR81
extends RealPrepareSQL

This class is used to process the old format of PREPARE API which is used upto Reality R8.1


Fields inherited from class com.northgateis.reality.realsql.RealPrepareSQL
accessPlan, debug, NULL_BYTE, prepareMsg
 
Constructor Summary
RealPrepareSQLR81(RealSQLStatement statement, java.lang.String sql, int traceFlags)
           
 
Method Summary
protected  intgetParamCount()
           
protected  intloadMetaData(java.util.ArrayList metaData)
          Loads the columns metadata returned from a PREPAREd statement into the supplied ArrayList, which is then available for subsequent ResultSet processing.
 
Methods inherited from class com.northgateis.reality.realsql.RealPrepareSQL
getAccessPlan, processMetaDataList, processMsg, replaceDelim, separateIntoColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealPrepareSQLR81

public RealPrepareSQLR81(RealSQLStatement statement,
 java.lang.String sql,
 int traceFlags)
 throws RealSQLException
Method Detail

loadMetaData

protected int loadMetaData(java.util.ArrayList metaData)
 throws java.sql.SQLException
Loads the columns metadata returned from a PREPAREd statement into the supplied ArrayList, which is then available for subsequent ResultSet processing.

Parameters:
metaData - ArrayList to contain column metadata information.
Returns:
the number of columns in the result set.
Throws:
java.sql.SQLException. -  
Overrides:
loadMetaData in class RealPrepareSQL


getParamCount

protected int getParamCount()
Overrides:
getParamCount in class RealPrepareSQL