Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test
In directory sc8-pr-cvs1:/tmp/cvs-serv24603/sf/hibernate/test
Modified Files:
Multi.hbm.xml Qux.hbm.xml
Log Message:
further clean-ups of mapping package
Index: Multi.hbm.xml
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test/Multi.hbm.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Multi.hbm.xml 25 Jan 2003 01:26:07 -0000 1.3
--- Multi.hbm.xml 27 Jan 2003 12:12:41 -0000 1.4
***************
*** 30,34 ****
<bag name="bag" lazy="true" table="simple_simple">
<key column="simple1"/>
! <many-to-many column="simple2" class="net.sf.hibernate.test.Simple"/>
</bag>
<one-to-one name="mypo"/>
--- 30,34 ----
<bag name="bag" lazy="true" table="simple_simple">
<key column="simple1"/>
! <many-to-many column="simple2" class="net.sf.hibernate.test.Simple" not-null="true"/>
</bag>
<one-to-one name="mypo"/>
Index: Qux.hbm.xml
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test/Qux.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Qux.hbm.xml 9 Jan 2003 12:24:51 -0000 1.2
--- Qux.hbm.xml 27 Jan 2003 12:12:41 -0000 1.3
***************
*** 19,25 ****
<key column="qux_id"/>
<many-to-many class="net.sf.hibernate.test.Fum">
! <column name="fum_string" length="10"/>
! <column name="fum_short"/>
! <column name="fum_date"/>
</many-to-many>
</set>
--- 19,25 ----
<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"/>
! <column name="fum_date" not-null="true"/>
</many-to-many>
</set>
|