[jboss-user] [JBoss Seam] - Re: @DataModel modifications
fhh
do-not-reply at jboss.com
Thu Apr 5 13:55:14 EDT 2007
anonymous wrote :
| I have a @DataModel (HashSet myEntries) in a SESSION-scoped JAVABEAN Seam component. (...) Is the initial myEntries Set (as returned from the @Factory method) cached somewhere?
|
Yes. It is session scoped so it is "cached" in the session.
You could simply add the entity to your set after it has been persisted/merged. This will save you a trip to the database.
Regards
Felix
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035116#4035116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035116
More information about the jboss-user
mailing list