• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Records not getting updated when PreUpdate listener is used in Hibernate

 
Narendra Kadali
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using preupdate event listener concept in my database implemention.

When I am adding listener as below the contenst in DB not getting updated.


When I remove this listener (pre-update), update working fine.

In this pre-update listener i am inserting some records in db like audit records. I am able to insert them. But unable to update the records i want.

Below is the method i am overriding in a class which implements PreUpdateEventListener.


Can any one help me regarding this problem.

Thanks,

Narendra
 
remyvrs vredestein
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
have you solved the problem ?
i got into it myself

thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic