Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9373

Extend HqlQueryExecutor to use setParameterList for list type parameters passed with bindValue

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 6.0
    • Component/s: Old Core
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Current the com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor uses org.hibernate.Query.setParameter whatever the type of the parameter while it should probably check the type and use setParameterList when it's a List.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                flavius.olaru Flavius Olaru
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: