[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-202) Inaccurate exception message for setFirstResult in QueryImpl
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Aug 28 19:13:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-202?page=all ]
Emmanuel Bernard resolved EJB-202:
----------------------------------
Fix Version: 3.2.0.cr2
Resolution: Fixed
Assign To: Emmanuel Bernard
Thanks
> Inaccurate exception message for setFirstResult in QueryImpl
> ------------------------------------------------------------
>
> Key: EJB-202
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-202
> Project: Hibernate Entity Manager
> Type: Bug
> Components: EntityManager
> Versions: 3.2.0.cr1
> Reporter: Spencer Uresk
> Assignee: Emmanuel Bernard
> Fix For: 3.2.0.cr2
>
>
> The exception message in org.hibernate.ejb.QueryImpl, setFirstResult method needs to be fixed. When you set a negative value for firstResult, the exception message is "Negative (x) parameter passed in to setMaxResults", which has lead to a bit of confusion. The exception message should be changed to "Negative (x) parameter passed in to setFirstResults".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list