[seam-commits] Seam SVN: r14382 - branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Mar 9 04:48:43 EST 2012
Author: rsmeral
Date: 2012-03-09 04:48:42 -0500 (Fri, 09 Mar 2012)
New Revision: 14382
Modified:
branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/CategoryAction.java
Log:
ordering added to allCategories query in CategoryAction
Modified: branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/CategoryAction.java
===================================================================
--- branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/CategoryAction.java 2012-03-09 09:45:53 UTC (rev 14381)
+++ branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/CategoryAction.java 2012-03-09 09:48:42 UTC (rev 14382)
@@ -48,7 +48,7 @@
@WebRemote
public List<Category> getAllCategories()
{
- allCategories = entityManager.createQuery("from Category").getResultList();
+ allCategories = entityManager.createQuery("from Category order by categoryId").getResultList();
return allCategories;
}
More information about the seam-commits
mailing list