[jboss-user] [JBoss Seam] - Re: EntityHome and optimistic transaction
azalea
do-not-reply at jboss.com
Wed Jul 11 17:18:14 EDT 2007
Hi, hstang.
Thanks for your reply.
anonymous wrote :
| What does "edit" button do? does it call entityHome.update ?
|
Yes, it does.
anonymous wrote :
| Maybe somewhere the dirty flag is not being set and you may to forcefully set that dirty flag to force update.
|
I tried setDirty(), but the situation didn't change.
| @Name("personManager")
| public class PersonManager extends EntityHome<Person> {
|
| ... ...
|
| @Begin(join=true)
| public void startUpdate() {
| setDirty(); // added
| }
|
| @End
| public void update() {
| setDirty(); // added
| super.update();
| }
| }
|
I think I need to see the Seam source code in detail.
Your help is a welcome anytime :)
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063230#4063230
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063230
More information about the jboss-user
mailing list