hi everybody, I have a conversation component derived from EntityHome with manual flush mode. Before flushing changes for the associated entity to the db I would like to re-read its status field from db and stop saving the changes if it has a specific value that was posted by a concurrent user. The problem is that, if I refresh the entity to get the current status from db I obviously lose the changes submitted from the form and, if I use the entity manager to get another instance of the same record using a query and getSingleResult(), I get the same instance I obtain calling getInstance(), and such instance has the old value of the status field. How can I do that?
Thanks in advance ciao Francesco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026372#4026372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026372 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
