[jboss-user] [JBoss Seam] - Re: question about components and persistence
pete.muir@jboss.org
do-not-reply at jboss.com
Tue Dec 18 14:27:46 EST 2007
anonymous wrote : At first it would seem to the neophyte like me a more natural way to keep the object itself and perhaps merge it at the beginning of each conversation.
Thats a valid alternative approach, but doesn't work so nicely with EntityHome.
anonymous wrote : (issue aside I wonder if there is a way to differentiate between a managed entity and one that is not, to avoid the exception thrown when trying to merge an already managed entity)
entityManager.contains(entity);
anonymous wrote : Rephrasing, when is more appropriate to merge and entity instead of reloading it?
Both are semantically equivalent in this case AFAICS.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113926#4113926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113926
More information about the jboss-user
mailing list