From: Gavin K. <ga...@ap...> - 2002-10-04 17:11:03
|
> i have just committed my initial changes to the XMLDatabinder class. now un-initialised proxies and lazy collections can be left un-initialised. Cool. Thanks Brad :) You know this means you are the official owner of the databinding code now, right? ;) > i am leaning towards changing openDatabinder() on SessionFactory to openDatabinder(boolean traverseLazy). How about adding Databinder.setTraverseLazy(boolean) Thats more flexible and avoids complexifying SessionFactory interface. P.S. Something I've never understood properly is why on earth the Session interface has two methods suspendFlushes() / resumeFlushes() instead of the much saner setAutoFlush(boolean) ...... Who designed this shit??!!!? I'll have to do some deprecation there at some stage. Not sure *what* I was smoking that day...... |