[jboss-user] [JBoss Seam] - Re: count(*) and group by

artur.chyzy do-not-reply at jboss.com
Wed Jul 25 03:37:05 EDT 2007


what about the native sql solution.. 

override the count query methods and use native sql for it... the select count(*) from (previous_query) as some_name should work on all databases because this is not using some db specific functions

what do you think ?? is this a worth approach ??

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067319#4067319

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067319



More information about the jboss-user mailing list