Uploaded image for project: 'Hibernate ORM'
  1. HHH-10796

org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 5.1.0, 5.0.9, 5.2.0
    • Fix versions: 5.0.10, 5.2.1, 5.1.1
    • Components: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Example
      Query query = session.createQuery("SELECT user FROM User user WHERE user.id IN (:ids) AND user.status IN (:statuses)");
      query.setParameterList("statuses",statusList);
      map.put("ids", idList);
      query.setProperties(map);

      The parameter statuses is wrongly set to null.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: