From: Peter S. <sz...@us...> - 2004-04-09 13:28:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17770/NHibernate.DomainModel Modified Files: Baz.cs Baz.hbm.xml Fee.cs Fee.hbm.xml Fo.hbm.xml Foo.cs Fum.hbm.xml Fumm.hbm.xml Glarch.hbm.xml NHibernate.DomainModel-1.1.csproj Qux.hbm.xml Added Files: Fum.cs FumCompositeID.cs MultiplicityType.cs Log Message: FooBar is on the way. --- NEW FILE: FumCompositeID.cs --- using System; using System.Collections; namespace NHibernate.DomainModel { [Serializable] public class FumCompositeID { String string_; DateTime date_; short short_; public override bool Equals(object obj) { FumCompositeID that = (FumCompositeID) obj; return this.string_.Equals(that.string_) && this.short_==that.short_; } public override int GetHashCode() { return string_.GetHashCode(); } public string @string { get { return string_; } set { this.string_ = value; } } public DateTime date { get { return date_; } set { this.date_ = value; } } public short @short { get { return short_; } set { this.short_ = value; } } } } Index: NHibernate.DomainModel-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHibernate.DomainModel-1.1.csproj,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NHibernate.DomainModel-1.1.csproj 8 Apr 2004 17:22:08 -0000 1.8 --- NHibernate.DomainModel-1.1.csproj 9 Apr 2004 13:14:53 -0000 1.9 *************** *** 250,257 **** --- 250,267 ---- /> <File + RelPath = "Fum.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Fum.hbm.xml" BuildAction = "EmbeddedResource" /> <File + RelPath = "FumCompositeID.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Fumm.hbm.xml" BuildAction = "EmbeddedResource" *************** *** 307,310 **** --- 317,325 ---- /> <File + RelPath = "MultiplicityType.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "NestingComponent.cs" SubType = "Code" Index: Fumm.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fumm.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Fumm.hbm.xml 6 Apr 2004 13:36:18 -0000 1.2 --- Fumm.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 7,11 **** </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="date" /> </composite-id> <property name="locale" /> --- 7,11 ---- </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="DateTime" /> </composite-id> <property name="locale" /> --- NEW FILE: Fum.cs --- using System; using System.Collections; namespace NHibernate.DomainModel { public class Fum : ILifecycle { private String _fum; private FumCompositeID _id; private Fum _fo; private Qux[] _quxArray; private IList _friends; private DateTime _lastUpdated; public Fum() {} public Fum(FumCompositeID id) { this.id = id; friends = new ArrayList(); FumCompositeID fid = new FumCompositeID(); fid.date= new DateTime(); fid.@short= (short) ( id.@short + 33 ); fid.@string= id.@string + "dd"; Fum f = new Fum(); f.id = fid; f.fum="FRIEND"; friends.Add(f); } public string fum { get { return _fum; } set { this._fum = value; } } public FumCompositeID id { get { return _id; } set { this._id = value; } } public Fum fo { get { return _fo; } set { this._fo = value; } } public Qux[] quxArray { get { return _quxArray; } set { this._quxArray = value; } } public IList friends { get { return _friends; } set { this._friends = value; } } public LifecycleVeto OnDelete(ISession s) { if (friends==null) return LifecycleVeto.NoVeto; try { IEnumerator iter = friends.GetEnumerator(); while ( iter.MoveNext() ) { s.Delete( iter.Current ); } } catch (Exception e) { throw new CallbackException(e); } return LifecycleVeto.NoVeto; } public void OnLoad(ISession s, object id) { } public LifecycleVeto OnSave(ISession s) { if (friends==null) return LifecycleVeto.NoVeto; try { IEnumerator iter = friends.GetEnumerator(); while ( iter.MoveNext() ) { s.Save( iter.Current ); } } catch (Exception e) { throw new CallbackException(e); } return LifecycleVeto.NoVeto; } public LifecycleVeto OnUpdate(ISession s) { return LifecycleVeto.NoVeto; } public DateTime lastUpdated { get { return _lastUpdated; } set { _lastUpdated = value; } } } } Index: Qux.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Qux.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Qux.hbm.xml 6 Apr 2004 13:36:18 -0000 1.2 --- Qux.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 1,9 **** <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="net.sf.hibernate.test.Qux" table="quux" proxy="net.sf.hibernate.test.Qux"> <!----> <id name="key" column="qux_key" unsaved-value="0"> <generator class="hilo" /> </id> ! <many-to-one name="foo" class="net.sf.hibernate.test.Foo"> <column name="foo" length="36" /> </many-to-one> --- 1,9 ---- <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="NHibernate.DomainModel.Qux, NHibernate.DomainModel" table="quux" proxy="NHibernate.DomainModel.Qux, NHibernate.DomainModel"> <id name="key" column="qux_key" unsaved-value="0"> <generator class="hilo" /> </id> ! <many-to-one name="foo" class="NHibernate.DomainModel.Foo, NHibernate.DomainModel"> <column name="foo" length="36" /> </many-to-one> *************** *** 12,20 **** <property name="stored" /> <property name="created" /> ! <property name="childKey" type="long" /> <property name="stuff" /> <set name="fums" lazy="true"> <key column="qux_id" /> ! <many-to-many class="net.sf.hibernate.test.Fum"> <column name="fum_string" length="10" not-null="true" /> <column name="fum_short" not-null="true" /> --- 12,20 ---- <property name="stored" /> <property name="created" /> ! <property name="childKey" type="Int64" /> <property name="stuff" /> <set name="fums" lazy="true"> <key column="qux_id" /> ! <many-to-many class="NHibernate.DomainModel.Fum, NHibernate.DomainModel"> <column name="fum_string" length="10" not-null="true" /> <column name="fum_short" not-null="true" /> *************** *** 25,29 **** <key column="qux_id" /> <index column="posn" /> ! <one-to-many class="net.sf.hibernate.test.Fum" /> </list> </class> --- 25,29 ---- <key column="qux_id" /> <index column="posn" /> ! <one-to-many class="NHibernate.DomainModel.Fum, NHibernate.DomainModel" /> </list> </class> Index: Baz.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Baz.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Baz.cs 8 Apr 2004 14:59:32 -0000 1.1 --- Baz.cs 9 Apr 2004 13:14:53 -0000 1.2 *************** *** 25,28 **** --- 25,47 ---- { + /// <summary> + /// Holds the _collectionComponent + /// </summary> + private NestingComponent _collectionComponent; + + /// <summary> + /// Gets or sets the _collectionComponent + /// </summary> + public NestingComponent collectionComponent + { + get + { + return _collectionComponent; + } + set + { + _collectionComponent = value; + } + } #region Fields /// <summary> Index: Foo.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Foo.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Foo.cs 8 Apr 2004 16:37:39 -0000 1.3 --- Foo.cs 9 Apr 2004 13:14:53 -0000 1.4 *************** *** 688,692 **** component.glarch = new Glarch(); dependent = new Fee(); ! dependent.Fi = "belongs to foo # " + key; locale = System.Threading.Thread.CurrentThread.CurrentCulture.Name; return LifecycleVeto.NoVeto; --- 688,692 ---- component.glarch = new Glarch(); dependent = new Fee(); ! dependent.fi = "belongs to foo # " + key; locale = System.Threading.Thread.CurrentThread.CurrentCulture.Name; return LifecycleVeto.NoVeto; Index: Fee.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fee.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Fee.cs 8 Apr 2004 14:59:32 -0000 1.1 --- Fee.cs 9 Apr 2004 13:14:53 -0000 1.2 *************** *** 8,18 **** { public Fee _fee; ! public Fee anotherFee; ! public String fi; ! public String key; ! public System.Collections.IDictionary fees; ! private Qux qux; ! private FooComponent compon; ! private int count; public Fee() --- 8,18 ---- { public Fee _fee; ! public Fee _anotherFee; ! public String _fi; ! public String _key; ! public System.Collections.IDictionary _fees; ! private Qux _qux; ! private FooComponent _compon; ! private int _count; public Fee() *************** *** 24,115 **** get { ! return fee; } set { ! this.fee = value; } } ! public string Fi { get { ! return fi; } set { ! this.fi = value; } } ! public string Key { get { ! return key; } set { ! this.key = value; } } ! public System.Collections.IDictionary Fees { get { ! return fees; } set { ! this.fees = value; } } ! public Fee AnotherFee { get { ! return anotherFee; } set { ! this.anotherFee = value; } } ! public Qux Qux { get { ! return qux; } set { ! this.qux = value; } } ! public FooComponent Compon { get { ! return compon; } set { ! this.compon = value; } } ! public int Count { get { ! return count; } set { ! count = value; } } --- 24,115 ---- get { ! return _fee; } set { ! this._fee = value; } } ! public string fi { get { ! return _fi; } set { ! this._fi = value; } } ! public string key { get { ! return _key; } set { ! this._key = value; } } ! public System.Collections.IDictionary fees { get { ! return _fees; } set { ! this._fees = value; } } ! public Fee anotherFee { get { ! return _anotherFee; } set { ! this._anotherFee = value; } } ! public Qux qux { get { ! return _qux; } set { ! this._qux = value; } } ! public FooComponent compon { get { ! return _compon; } set { ! this._compon = value; } } ! public int count { get { ! return _count; } set { ! _count = value; } } Index: Fum.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fum.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Fum.hbm.xml 6 Apr 2004 13:36:17 -0000 1.2 --- Fum.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 1,5 **** <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="net.sf.hibernate.test.Fum"> <composite-id name="id" unsaved-value="any"> <key-property name="string"> --- 1,5 ---- <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="NHibernate.DomainModel.Fum, NHibernate.DomainModel"> <composite-id name="id" unsaved-value="any"> <key-property name="string"> *************** *** 7,13 **** </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="date" /> </composite-id> ! <version name="lastUpdated" type="calendar" /> <property name="fum" not-null="true" /> <many-to-one name="fo"> --- 7,13 ---- </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="DateTime" /> </composite-id> ! <version name="lastUpdated" type="DateTime" /> <property name="fum" not-null="true" /> <many-to-one name="fo"> *************** *** 22,26 **** <column name="fr_date" /> </key> ! <one-to-many class="net.sf.hibernate.test.Fum" /> </set> <array name="quxArray"> --- 22,26 ---- <column name="fr_date" /> </key> ! <one-to-many class="NHibernate.DomainModel.Fum, NHibernate.DomainModel" /> </set> <array name="quxArray"> *************** *** 31,35 **** </key> <index column="i" /> ! <one-to-many class="net.sf.hibernate.test.Qux" /> </array> </class> --- 31,35 ---- </key> <index column="i" /> ! <one-to-many class="NHibernate.DomainModel.Qux, NHibernate.DomainModel" /> </array> </class> Index: Baz.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Baz.hbm.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Baz.hbm.xml 8 Apr 2004 17:22:08 -0000 1.4 --- Baz.hbm.xml 9 Apr 2004 13:14:53 -0000 1.5 *************** *** 96,100 **** <key column="id_"/> <index column="map_key" type="String" length="32"/> ! <element column="map_value" type="date"/> </map> --- 96,100 ---- <key column="id_"/> <index column="map_key" type="String" length="32"/> ! <element column="map_value" type="DateTime"/> </map> *************** *** 114,118 **** <idbag name="idFooBag" lazy="true" table="baz_id_foo" cascade="all"> ! <collection-id column="pkid" type="long"> <generator class="hilo"/> </collection-id> --- 114,118 ---- <idbag name="idFooBag" lazy="true" table="baz_id_foo" cascade="all"> ! <collection-id column="pkid" type="Int64"> <generator class="hilo"/> </collection-id> *************** *** 122,126 **** <idbag name="byteBag" lazy="true" table="baz_byte_bag" cascade="all"> ! <collection-id column="pkid" type="long"> <generator class="hilo"/> </collection-id> --- 122,126 ---- <idbag name="byteBag" lazy="true" table="baz_byte_bag" cascade="all"> ! <collection-id column="pkid" type="Int64"> <generator class="hilo"/> </collection-id> *************** *** 203,211 **** <map name="anyToAny" lazy="true"> <key column="baz"/> ! <index-many-to-any id-type="long"> <column name="ind_clazz_"/> <column name="ind_id_"/> </index-many-to-any> ! <many-to-any id-type="long"> <column name="el_clazz_"/> <column name="el_id_"/> --- 203,211 ---- <map name="anyToAny" lazy="true"> <key column="baz"/> ! <index-many-to-any id-type="Int64"> <column name="ind_clazz_"/> <column name="ind_id_"/> </index-many-to-any> ! <many-to-any id-type="Int64"> <column name="el_clazz_"/> <column name="el_id_"/> *************** *** 232,236 **** <bag name="floats" table="baz_floats_bag"> <key column="baz_compon_id"/> ! <element type="float" column="float_value"/> </bag> </component> --- 232,236 ---- <bag name="floats" table="baz_floats_bag"> <key column="baz_compon_id"/> ! <element type="Int64" column="float_value"/> </bag> </component> Index: Fee.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fee.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Fee.hbm.xml 6 Apr 2004 13:36:17 -0000 1.2 --- Fee.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 1,6 **** <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="net.sf.hibernate.test.Fee" table="`the fees`"> ! <id type="string" name="key" column="id_" length="64" unsaved-value="null"> <generator class="uuid.hex" /> </id> --- 1,6 ---- <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="NHibernate.DomainModel.Fee, NHibernate.DomainModel" table="`the fees`"> ! <id type="String" name="key" column="id_" length="64" unsaved-value="null"> <generator class="uuid.hex" /> </id> *************** *** 12,16 **** <set name="fees"> <key column="fee_id" /> ! <element column="str_" type="string" /> </set> <component name="compon" update="false"> --- 12,16 ---- <set name="fees"> <key column="fee_id" /> ! <element column="str_" type="String" /> </set> <component name="compon" update="false"> --- NEW FILE: MultiplicityType.cs --- using System; using System.Data; namespace NHibernate.DomainModel { public class MultiplicityType : ICompositeUserType { private static string[] PROP_NAMES = new String[] { "count", "glarch" }; private static Type.IType[] TYPES = new Type.IType[] { NHibernate.Int32, NHibernate.GetSerializable(typeof(Glarch)) }; public String[] PropertyNames { get { return PROP_NAMES; } } public Type.IType[] PropertyTypes { get { return TYPES; } } public object GetPropertyValue(object component, int property) { Multiplicity o = (Multiplicity) component; return property==0 ? (object)o.count : (object)o.glarch; } public void SetPropertyValue(object component, int property, object value) { Multiplicity o = (Multiplicity) component; if (property==0) { o.count = (int)value; } else { o.glarch = (Glarch) value; } } public System.Type ReturnedClass { get { return typeof(Multiplicity); } } public new bool Equals(object x, object y) { Multiplicity mx = (Multiplicity) x; Multiplicity my = (Multiplicity) y; if (mx==my) return true; if (mx==null || my==null) return false; return mx.count==my.count && mx.glarch==my.glarch; } public object NullSafeGet(IDataReader rs, String[] names, Engine.ISessionImplementor session, Object owner) { int c = (int) NHibernate.Int32.NullSafeGet( rs, names[0], session, owner); GlarchProxy g = (GlarchProxy) NHibernate.GetSerializable(typeof(Glarch)).NullSafeGet(rs, names[1], session, owner); Multiplicity m = new Multiplicity(); m.count = c==0 ? 0 : c; m.glarch = g; return m; } public void NullSafeSet(IDbCommand st, Object value, int index, Engine.ISessionImplementor session) { Multiplicity o = (Multiplicity) value; GlarchProxy g; int c; if (o==null) { g=null; c=0; } else { g = o.glarch; c =o.count; } NHibernate.Int32.NullSafeSet(st, c, index, session); NHibernate.GetSerializable(typeof(Glarch)).NullSafeSet(st, g, index+1, session); } public object DeepCopy(object value) { if (value==null) return null; Multiplicity v = (Multiplicity) value; Multiplicity m = new Multiplicity(); m.count = v.count; m.glarch = m.glarch; return m; } public bool IsMutable { get { return true; } } public object Assemble(object cached, Engine.ISessionImplementor session, Object owner) { throw new InvalidOperationException(); } public object Disassemble(Object value, Engine.ISessionImplementor session) { throw new InvalidOperationException(); } } } Index: Fo.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fo.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Fo.hbm.xml 6 Apr 2004 13:36:17 -0000 1.2 --- Fo.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 7,11 **** </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="date" /> </composite-id> <version name="version" type="long" /> --- 7,11 ---- </key-property> <key-property name="short" column="short_" /> ! <key-property name="date" column="date_" type="DateTime" /> </composite-id> <version name="version" type="long" /> Index: Glarch.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Glarch.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Glarch.hbm.xml 6 Apr 2004 13:36:18 -0000 1.2 --- Glarch.hbm.xml 9 Apr 2004 13:14:53 -0000 1.3 *************** *** 1,8 **** <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="net.sf.hibernate.test.Glarch" table="`glarchez`" proxy="net.sf.hibernate.test.GlarchProxy" ! dynamic-update="true"> <!--<jcs-cache usage="read-write"/>--> ! <id type="string" column="tha_key" length="32"> <generator class="uuid.hex" /> </id> --- 1,8 ---- <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> ! <class name="NHibernate.DomainModel.Glarch, NHibernate.DomainModel" table="`glarchez`" ! proxy="NHibernate.DomainModel.GlarchProxy, NHibernate.DomainModel" dynamic-update="true"> <!--<jcs-cache usage="read-write"/>--> ! <id type="String" column="tha_key" length="32"> <generator class="uuid.hex" /> </id> *************** *** 10,18 **** <property name="name" column="namecvbnmasdf" /> <!-- <property name="currency"/> --> ! <many-to-one name="next" column="next_" class="net.sf.hibernate.test.Glarch" /> <property name="order" column="order_" /> <dynabean name="dynaBean" dynaclass="foo"> ! <property name="foo" type="string" /> ! <property name="bar" type="integer" /> </dynabean> <property name="x" /> --- 10,18 ---- <property name="name" column="namecvbnmasdf" /> <!-- <property name="currency"/> --> ! <many-to-one name="next" column="next_" class="NHibernate.DomainModel.Glarch, NHibernate.DomainModel" /> <property name="order" column="order_" /> <dynabean name="dynaBean" dynaclass="foo"> ! <property name="foo" type="String" /> ! <property name="bar" type="Int32" /> </dynabean> <property name="x" /> *************** *** 20,32 **** <key column="glarch_key" /> <index column="`!@# i`" /> ! <element type="string" column="`tha_stryng`" /> </list> <list name="fooComponents" lazy="true" cascade="all"> <key column="glarch_key" /> <index column="tha_indecks" /> ! <composite-element class="net.sf.hibernate.test.FooComponent"> <property name="name" column="name_" /> <property name="count" column="count_" /> ! <nested-composite-element name="subcomponent" class="net.sf.hibernate.test.FooComponent"> <property name="name" column="x_" /> <property name="count" column="y_" /> --- 20,32 ---- <key column="glarch_key" /> <index column="`!@# i`" /> ! <element type="String" column="`tha_stryng`" /> </list> <list name="fooComponents" lazy="true" cascade="all"> <key column="glarch_key" /> <index column="tha_indecks" /> ! <composite-element class="NHibernate.DomainModel.FooComponent, NHibernate.DomainModel"> <property name="name" column="name_" /> <property name="count" column="count_" /> ! <nested-composite-element name="subcomponent" class="NHibernate.DomainModel.FooComponent, NHibernate.DomainModel"> <property name="name" column="x_" /> <property name="count" column="y_" /> *************** *** 35,54 **** </composite-element> </list> ! <array name="proxyArray" element-class="net.sf.hibernate.test.GlarchProxy"> <key column="array_key" /> <index column="array_indecks" /> ! <one-to-many class="net.sf.hibernate.test.Glarch" /> </array> <set name="proxySet"> <key column="set_key" /> ! <one-to-many class="net.sf.hibernate.test.Glarch" /> </set> <property name="immutable" update="false" /> <property name="derivedVersion" insert="false" update="false" column="version" /> ! <property name="any" type="object"> <column name="`any_id of object`" /> <column name="`any_class of object`" /> ! </property> ! <property name="multiple" type="net.sf.hibernate.test.MultiplicityType"> <column name="count_" /> <column name="glarch_" /> --- 35,54 ---- </composite-element> </list> ! <array name="proxyArray" element-class="NHibernate.DomainModel.GlarchProxy, NHibernate.DomainModel"> <key column="array_key" /> <index column="array_indecks" /> ! <one-to-many class="NHibernate.DomainModel.Glarch, NHibernate.DomainModel" /> </array> <set name="proxySet"> <key column="set_key" /> ! <one-to-many class="NHibernate.DomainModel.Glarch, NHibernate.DomainModel" /> </set> <property name="immutable" update="false" /> <property name="derivedVersion" insert="false" update="false" column="version" /> ! <any name="any" id-type="System.Object"> <column name="`any_id of object`" /> <column name="`any_class of object`" /> ! </any> ! <property name="multiple" type="NHibernate.DomainModel.MultiplicityType, NHibernate.DomainModel"> <column name="count_" /> <column name="glarch_" /> |