Re: [hibernate-dev] embed-xml=false leaves you stuck

2007-12-12 Thread Steve Ebersole
On Dec 11, 2007, at 8:02 PM, Bill Burke wrote: I was looking at the XML mapping support for Hibernate recently and have some questions/suggestions. One thing that seriously annoyed me was that if you do not have embed-xml=true you can never get access to an association/ relationship in

Re: [hibernate-dev] embed-xml=false leaves you stuck

2007-12-12 Thread Bill Burke
Steve Ebersole wrote: The bigger issue here imo is the fact that the nature of XML suggests that we are discussing structured data; structure which is generally described by a schema or DTD. What you do not like is the static nature of the choice... Schema can allow for partial

Re: [hibernate-dev] embed-xml=false leaves you stuck

2007-12-12 Thread Emmanuel Bernard
Probably the best strategy is to think about it when we work on the fetch profile strategy. On Dec 12, 2007, at 03:02, Bill Burke wrote: I was looking at the XML mapping support for Hibernate recently and have some questions/suggestions. One thing that seriously annoyed me was that if

[hibernate-dev] why does dynamic-map mode eagerly load lazy collections

2007-12-12 Thread Bill Burke
Same problem happening with dynamicMap mode. Problem is, by debugging/stepping through the code, I can't find out why a lazily loaded relationship is getting loaded. Any hints? Thanks, Bill -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com

Re: [hibernate-dev] why does dynamic-map mode eagerly load lazy collections

2007-12-12 Thread Bill Burke
H. I think the debugger is initializing the collection when I view it. I was trying to view the result in the debugger instead of a println LOL! sorry. Bill Burke wrote: Same problem happening with dynamicMap mode. Problem is, by debugging/stepping through the code, I