From: Michael D. <mik...@us...> - 2004-08-03 04:20:17
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7090/NHibernate.DomainModel Modified Files: Fo.hbm.xml Glarch.hbm.xml ParentChild.hbm.xml Log Message: Modified mappings of properties that are of type System.Object. Index: ParentChild.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/ParentChild.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ParentChild.hbm.xml 9 Jul 2004 19:22:11 -0000 1.2 --- ParentChild.hbm.xml 3 Aug 2004 04:20:08 -0000 1.3 *************** *** 1,4 **** <?xml version="1.0"?> ! <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">> <class --- 1,4 ---- <?xml version="1.0"?> ! <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> <class *************** *** 14,18 **** <property name="Count" column="count_"/> <one-to-one name="Child"/> ! <property name="Any" type="Object"> <column name="any_id"/> <column name="any_class"/> --- 14,18 ---- <property name="Count" column="count_"/> <one-to-one name="Child"/> ! <property name="Any"> <column name="any_id"/> <column name="any_class"/> Index: Fo.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Fo.hbm.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Fo.hbm.xml 31 Jul 2004 19:14:52 -0000 1.5 --- Fo.hbm.xml 3 Aug 2004 04:20:08 -0000 1.6 *************** *** 28,32 **** type="Int64" /> ! <!-- TODO: need to specify System.Object - nh can't guess this one http://jira.nhibernate.org:8080/browse/NH-82--> <property name="Serial" --- 28,36 ---- type="Int64" /> ! <!-- ! todo: what property matches to a java version of Serializable?? ! This is kind of a hack because NHibernate doesn't match System.Object to ! ObjectType. ! --> <property name="Serial" Index: Glarch.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Glarch.hbm.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Glarch.hbm.xml 11 Jul 2004 21:07:24 -0000 1.6 --- Glarch.hbm.xml 3 Aug 2004 04:20:08 -0000 1.7 *************** *** 117,124 **** /> ! <any name="Any" id-type="System.Object"> <column name="`any_id of object`" /> <column name="`any_class of object`" /> ! </any> <property --- 117,124 ---- /> ! <property name="Any" type="Object"> <column name="`any_id of object`" /> <column name="`any_class of object`" /> ! </property> <property |