From: Spencer U. (JIRA) <no...@at...> - 2006-06-28 19:47:50
|
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 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 |