« Return to Thread: [jira] [Created] (TORQUE-212) Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found

[jira] [Resolved] (TORQUE-212) Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found

by JIRA jira@apache.org :: Rate this Message:

| View in Thread


     [ https://issues.apache.org/jira/browse/TORQUE-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox resolved TORQUE-212.
-------------------------------

    Resolution: Fixed
   

> Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found
> -----------------------------------------------------------------------------------------------
>
>                 Key: TORQUE-212
>                 URL: https://issues.apache.org/jira/browse/TORQUE-212
>             Project: Torque
>          Issue Type: Improvement
>          Components: Runtime
>            Reporter: Thomas Fox
>            Assignee: CG Monroe
>             Fix For: 4.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@...
For additional commands, e-mail: torque-dev-help@...

 « Return to Thread: [jira] [Created] (TORQUE-212) Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found