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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment