It's not a secret anymore!*
The moose likes Object Relational Mapping and the fly likes Problem with Update 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 » Databases » Object Relational Mapping
Bookmark "Problem with Update " Watch "Problem with Update " New topic

Problem with Update

yassine yassinos

Joined: Jan 02, 2012
Posts: 11
Hi everybody , i work on a project , i use JPA and hibernate for my databas . i have a problem , when i make update for a existing object , it dosen't work . i don't know why . it work for save and delete but not update .
Bill Gorder

Joined: Mar 07, 2010
Posts: 1646

Please TellTheDetails <-click ItDoesntWorkIsUseless <-click. Is there an exception or stack trace? Can you provide a code snippet that demonstrates the issue?

[How To Ask Questions][Read before you PM me]
Don't get me started about those stupid light bulbs.
subject: Problem with Update
Similar Threads
update/delete parent and child
problem persisting an object with collections and manytomany relationship
What's wrong with my code?
problems masking a grid panel
PreparedStatement pads spaces