[jboss-user] [JBoss Seam] - Re: Eager loading in EntityQuery
zaya
do-not-reply at jboss.com
Mon Oct 29 07:05:47 EDT 2007
I read Hibernate doc, and it says:
| Nor should fetch be used together with setMaxResults() or setFirstResult() as these operations are
| based on the result rows, which usually contain duplicates for eager collection fetching, hence, the number of
| rows is not what you'd expect.
|
EntityQuery used paging, there's certainly setMaxResults().
I'm kinda confused here. I executed generated mysql from mysql log, and the result seemed correct. Just the transaction was rolled back.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099789#4099789
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099789
More information about the jboss-user
mailing list