Uploaded image for project: 'Spring Data JPA'
  1. Spring Data JPA
  2. DATAJPA-121

Query parameter is null,it still use equals(=) to compare

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 1.1 M1
    • Fix Version/s: 1.1 RC1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      win7,eclipse,hibernate 3.5.6Final

      Description

      When a simple property reference gets a null
      a tree model table,it has parent is null,i use method public Tree findByParent(Tree parent);
      when parameter is null,will return null result.because it use "where parent=null" or not "parent is null"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              sjbwylbs liuwenhao
              Last updater:
              Spring Issues Spring Issues
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: