Class StoredProcedureQuery.StoredProcedureQueryExecutor

    • Constructor Detail

      • StoredProcedureQueryExecutor

        public StoredProcedureQueryExecutor​(StoredProcedureQuery q,
                                            java.util.List<QueryResultMapping> resultMapping,
                                            java.util.List<java.lang.Class<?>> classes)
    • Method Detail

      • toParameterArray

        public java.lang.Object[] toParameterArray​(StoreQuery q,
                                                   java.util.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.