From: Gavin K. <ga...@ap...> - 2002-09-05 12:25:01
|
Well, I suppose this would work: <class name="FooBarProxy" table="FooBar"> <id="fooBarId" /> <property name="bar" /> <set role="baz" table="Baz" lazy="true" cascade="all"> <key column="fooBarId" /> <one-to-many class="FooBazProxy" /> <!--- changed --> </set> </class> <class name="FooBazProxy" table="FooBaz"> <id="fooBazId" /> <one-to-one class="FooBaz"/> <!-- added --> <property name="baz" /> </class> but it would impact your Java class... You won't have this problem once we implement normalized table mappings. |