Joined: Sat Jan 29, 2011 8:36 am Posts: 3
|
Hi
I am trying to use PostUpdateEventListener (PostUpdateEvent) to inspect changes and save them to a new object. No matter what I have tried I get a LazyInitializationException - no session. I am thinking it has something to do with the way the session is being flushed. Has anyone implemeted something like this?
I may just write a regular old tried and true DB trigger on UPDATE if I cant get this work, but I would rather not.
Using Spring 3 and Hibernate 3.5
Thanks for any tips.
|
|