public void setPrepareOrExecuteProperties ( String sql , int maxRows , int fetchSize , int statementReturnType , int resultSetType , int resultSetConcurrency , int resultSetHoldability , int keyMode , int [ ] generatedIndexes , String [ ] generatedNames ) { mainString = sql ; updateCount = maxRows ; this . fetchSize = fetchSize ; this . statementReturnType = statementReturnType ; rsScrollability = resultSetType ; rsConcurrency = resultSetConcurrency ; rsHoldability = resultSetHoldability ; generateKeys = keyMode ; generatedMetaData = ResultMetaData . newGeneratedColumnsMetaData ( generatedIndexes , generatedNames ) ; }
For both EXECDIRECT and PREPARE