The solution is essentially a recursive flush. There is obviously a
danger
there and we would certainly want to depth-limit this.
What do y'all think about getting this into 4.0?
I can only say that I encountered the problem twice as a Hibernate user so the feature
would be very welcome :)
Adam
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu