[jboss-user] [JBoss Seam] - Eager loading in EntityQuery
zaya
do-not-reply at jboss.com
Mon Oct 29 04:38:28 EDT 2007
I'm wondering if this is possible. I'm using EntityQuery in Seam Application Framework.
Say, I want to page query for Comment entity, but when I show comments for an article, I need the name of the user who contributed this comment, and this information is in my User entity.
The consequence is n+1 queries. How to avoid this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099747#4099747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099747
More information about the jboss-user
mailing list