Hi all,

I have problem:

how to create update action ? best practices ?

1. method init(Long id) load the entity from hibernate session 
ViewArticle$$EnhancedByCGLIB$$... - the form is displayed

2. post the form to the save action - but there is no hibernate object byCGLIB 
- pure entity (POJO) - but i can't call session.update().

--> solution 

1. in method save load the object and copy attributes from bijected POJO entity 
and update object

or better solutions ?

thanks Mila

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054080
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to