This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Records not getting updated when PreUpdate listener is used in Hibernate

 
Narendra Kadali
Greenhorn
Posts: 5
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
have you solved the problem ?
i got into it myself

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic