0 Replies Latest reply on Jan 30, 2008 4:39 PM by lpmon

    Newbie Entity Question - changes visible in another instance

    lpmon Novice

      Environment: Inside one JVM (JBoss AS 4.0.5 w/EJB3)

      If a managed entity instance is held by thread A and thread B makes and saves changes to another managed instance will those changes be visible the next time thread A accesses its copy?

      If answer is 'no' one might ask why not do a merge in thread A to get latest copy?

      Answer: in my case I have many transient properties and they get lost if I use the new object returned from the merge.