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

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.0
    • 5.1
    • Old Core
    • Unit
    • Easy

    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

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

              Dates

                Created:
                Updated:
                Resolved: