[seam-commits] Seam SVN: r7715 - branches/Seam_2_0/src/main/org/jboss/seam/framework.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Mar 26 14:59:29 EDT 2008
Author: norman.richards at jboss.com
Date: 2008-03-26 14:59:29 -0400 (Wed, 26 Mar 2008)
New Revision: 7715
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/framework/EntityQuery.java
branches/Seam_2_0/src/main/org/jboss/seam/framework/HibernateEntityQuery.java
Log:
JBSEAM-2747
Modified: branches/Seam_2_0/src/main/org/jboss/seam/framework/EntityQuery.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/framework/EntityQuery.java 2008-03-26 18:56:38 UTC (rev 7714)
+++ branches/Seam_2_0/src/main/org/jboss/seam/framework/EntityQuery.java 2008-03-26 18:59:29 UTC (rev 7715)
@@ -44,8 +44,8 @@
@Transactional
public boolean isNextExists()
{
- return resultList!=null &&
- resultList.size() > getMaxResults();
+ return resultList!=null && getMaxResults()!=null &&
+ resultList.size() > getMaxResults();
}
Modified: branches/Seam_2_0/src/main/org/jboss/seam/framework/HibernateEntityQuery.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/framework/HibernateEntityQuery.java 2008-03-26 18:56:38 UTC (rev 7714)
+++ branches/Seam_2_0/src/main/org/jboss/seam/framework/HibernateEntityQuery.java 2008-03-26 18:59:29 UTC (rev 7715)
@@ -58,8 +58,8 @@
@Transactional
public boolean isNextExists()
{
- return resultList!=null &&
- resultList.size() > getMaxResults();
+ return resultList!=null && getMaxResults()!=null &&
+ resultList.size() > getMaxResults();
}
@Transactional
More information about the seam-commits
mailing list