static Object [ ] paramsForStatement ( AdHocPlannedStatement statement , Object [ ] userparams ) { // When there are no user-provided parameters, statements may have parameterized constants. if ( userparams . length > 0 ) { return userparams ; } else { return statement . extractedParamArray ( ) ; } }
Get the params for a specific SQL statement within a batch . Note that there is usually a batch size of one .