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] [Created] (TORQUE-212) Criteria.isSingleRecord() should throw TooManyRecordsException if more than one record is found
Date Wed, 13 Jun 2012 23:03:43 GMT
Thomas Fox created TORQUE-212:
---------------------------------

             Summary: 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