// Define the variable for the input-output parameter
// Using Integer object because the output value // is always returned as an Object Integer CustomerNumber = new Integer(3); // Create the ParamArray ParamArray parms = new ParamArray(1); // Set up output parameter - notice no variable is needed at this point parms.addInteger(0, null, ParamArrayMode.OUTPUT); // Run the procedure ... // Fill output parameter CustomerNumber = (Integer) parms.getOutputParameter(0); |