Hello, Would someone help me on how to perform a "select count(1) from TableA"?
I have the following code but that it does not seem to work. int rowCnt= (Integer) em.createQuery("SELECT count(1) FROM TableA").getSingleResult(); I am using JBoss 4.2.1GA. Much appreciated. -tony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074232#4074232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074232 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user