This content has been marked as final.
Show 2 replies
-
1. Re: extra queries from s:selectItems and s:convertEntity?
ckarthi Aug 5, 2009 8:59 PM (in response to jfaath)Though this post is old, even now in the latest Seam release the additional queries are fired.. any links related to this?
-
2. Re: extra queries from s:selectItems and s:convertEntity?
lvdberg Aug 6, 2009 11:18 AM (in response to jfaath)Look at the mapping of your entities and the scope of your beans. You're not using ajax, so this happens when you submit something. If you want to prevent this, you could define a session scoped bean with a factory which provides you with a list of countries whenever you need it. You could make it even nicer by adding an observer which fires a
refresh
query whenever you change some country entity.Details and details are perfectly explained in
Seam in Action
from Manning.