Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5951

Add new API to audit service to make parametrized native queries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: Audit
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      New API: AuditReader.nativeQuery(String query, Map<String, Object> params, int pageNb, int pageSize)

      Show
      New API: AuditReader.nativeQuery(String query, Map<String, Object> params, int pageNb, int pageSize)

      Description

      The audit service already has:
      List<?> nativeQuery(String query, int pageNb, int pageSize);
      But in certain cases (like when date arguments are passed) the query needs named parameters.
      -> add
      List<?> nativeQuery(String query, Map<String, Object> params, int pageNb, int pageSize);

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: