Class StoredProcedureQuery.StoredProcedureQueryExecutor

    • Method Detail

      • toParameterArray

        public Object[] toParameterArray​(StoreQuery q,
                                         Map<?,​?> userParams)
        Description copied from interface: StoreQuery.Executor
        Return an array from the given user parameter values. The array ordering is same as what this executor expects for its executeXXX() methods as its Object[] parameters. If the given userParams is null or empty return an empty array rather than null.
        Returns:
        array with parameter values ordered in the same way as this receiver's executeXXX() method expects.