I'm missing something very basic here.  I'm using the Seam managed extended 
persistence + a conversation scoped bean.  It's a very simple form that updates 
values on an existing entity.

In my @Begin method, I load up the entity and store it the conversation bean.  
The subsequent view shows the current properties of that entity.

A save button on my form hits the "save" method which has an @End annotation.  
Within the @End annotated save method, I call entityManager.merge(existing)...  

Nothing.  No errors, no nothing.  The view is redisplayed with the newly 
updated values.. but the database isn't getting updated with the changes. 
Navigating back to the (resetting the whole process), just gives me back an 
entity with the old values.

Is this the right procedure for updating an existing entity in an conversation 
bean?  I'm missing something basic but crucial here.

Ryan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911988#3911988

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911988


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to