db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-212) Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found
Date Wed, 13 Jun 2012 23:05:42 GMT

     [ 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


Mime
View raw message