I need to be able to rollback the changes (generated ids and versions) that hibernate makes to my POJOs after a hibernate transaction rollback. I don't want my POJOs to be out of synch with the database if the transaction rolls back. Has anyone ever attempted this before? I am trying to do it with an interceptor, but I thought I'd ask you folks first since you're the experts and maybe there's a better way.
Thanks,
James
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.1.2