Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: spec
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      790

      Description

      With the current API it is very difficult to build a generic client that
      collects the values for bind variables in a query. There should be a method on
      the Query that returns the names of the bind variables, which can be used in a
      Query.bindValue() call.

      Proposed method:

      /**

      • Returns the names of the bind variables in this query. If this query does
      • not contains any bind variables then an empty array is returned.
        *
      • @return the names of the bind variables in this query.
      • @throws RepositoryException if an error occurs.
      • @since JCR 2.0
        */
        public String[] getBindVariableNames() throws RepositoryException;

        Activity

        Hide
        Peeter Piegaze added a comment -

        Method added

        Show
        Peeter Piegaze added a comment - Method added

          People

          • Assignee:
            jsr-283-issues
            Reporter:
            mreutegg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: