This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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