Populating OUT and INOUT Parameters

Your procedure implementation returns OUT and INOUT parameters if you set their values in the single-element array.

For example, the following code sets an OUT and an INOUT parameter:
outParam2[0] = 42; inoutParam3[0] = new
        java.sql.Date(System.currentTimeMillis());