[jboss-user] [JBoss Seam] - Re: EntityQuery bug

rmemoria do-not-reply at jboss.com
Fri Sep 28 16:50:40 EDT 2007


Hi Pete,

Thanks for the reply...

Ok... The JBSEAM-1916 is done for me!

But the reason why I had to override the countEjbql() is because of a problem getting the resultCount() when I declare an EJBQL with "join fetch" in there.

for example: If I declare a query like that: "from User u join fecth u.department"
EntityQuery generates an exception when I call getResultCount().

So I had to override countEjbql().

Any idea how to workaround this problem??

Thanks,
Ricardo

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

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



More information about the jboss-user mailing list