wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes updating with em.merge(entity) is not working, Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "updating with em.merge(entity) is not working, Please Help" Watch "updating with em.merge(entity) is not working, Please Help" New topic
Author

updating with em.merge(entity) is not working, Please Help

Farhad Rahmati
Ranch Hand

Joined: Dec 16, 2010
Posts: 96
Hello every one

I am totally new in JEE6 world. I am having trouble with updating the records. here is my code.



and here is the error I get.

javax.el.MethodNotFoundException: /supplierdetails.xhtml @30,113 action="#{supplierMB.details.update}": Method not found: MCD.ENTITIES.Supplier[ supplierREF=4 ].update()

I would appreciate if anyone can help me.
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: updating with em.merge(entity) is not working, Please Help
 
Similar Threads
I need to set <s:property> value in the action class
EJB3: how to update the bean on the many side of a one-to-many relation?
JPA 2.0 em.merge() firing select statements only (no update)
Entity Objec previous state
Problem with EJB3 MDB on JBoss 4.2.2 GA