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

Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-beta1
    • Runtime
    • None

    Description

      Changed the exception type thrown by doSelect calls when Criteria.isSingleRecord() true and more than one record is found.
      A TooManyRecordsException (TorqueException subclass) is now returned instead of a TorqueException.

      Attachments

        Activity

          People

            monroe CG Monroe
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: