Bookmark Topic Watch Topic
  • New Topic

How to Read Delete modify and insert using JPA

 
rakesh kadulkar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I have a record in the database.
1 - I am reading this record using JPA into an Object.
2 - Then delete this record from the database.
3 - Now modify the state of the read object and then reinsert the record back into the database.
I found that steps 1 and 2 are working fine but step 3 is not working fine.
The records does not actually go into the database and no error is shown on the logs.
Where can be the problem guys.

Regards,
Rakesh
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Maybe this post will help you: Tutorial Hibernate 3 with JPA 2.
reinsert the record back into the database

What?!
 
Vijitha Kumara
Bartender
Posts: 3914
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue the discussion in your other thread.
 
    Bookmark Topic Watch Topic
  • New Topic