Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-363

Criterion handles "IS NULL" incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0, 5.1
    • 6.0
    • Runtime

    Description

      When using Criterion and want to use ISNULL (and maybe also applicable to ISNOTNULL)

      Criterion criterion1 = new Criterion(ID, Criteria.ISNULL); 

      The generated Code adds an equal-sign (=). In a Criteria this is not the case.

      Attachments

        Activity

          People

            mwriedt Max Philipp Wriedt
            mwriedt Max Philipp Wriedt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: