ManMohan Vyas
ManMohan Vyas

Reputation: 4062

Need to delete records with cascade and want them to store in history table via hibernate

I need to delete records from main table and store it in history table(exact replica of main table ), though I can code it manually. But is their a standard procedure to achieve same in hibernate ??

Upvotes: 0

Views: 68

Answers (1)

calvinkrishy
calvinkrishy

Reputation: 3928

Take a look at Hibernate Envers (a good tutorial).

Upvotes: 1

Related Questions