You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2012/06/14 01:05:42 UTC

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

     [ 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@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org