Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23211/src/test/java/org/xdoclet/plugin/hibernate/pojo

Modified Files:
        Relation.hbm.xml Relation.java 
Log Message:
(XDP-50) Fix problem with 'property-ref' attribute

Index: Relation.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Relation.hbm.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Relation.hbm.xml    26 Apr 2005 07:00:17 -0000      1.11
--- Relation.hbm.xml    6 May 2005 07:37:26 -0000       1.12
***************
*** 14,18 ****
              not-null="true"
              foreign-key="glum"
!             property-ref="false"
              index="glarch"
              >
--- 14,18 ----
              not-null="true"
              foreign-key="glum"
!             property-ref="foo"
              index="glarch"
              >
***************
*** 22,26 ****
              <column name="two"/>
          </many-to-one>
!         <one-to-one name="oneToOne" constrained="false">
          </one-to-one>
      </class>
--- 22,26 ----
              <column name="two"/>
          </many-to-one>
!         <one-to-one name="oneToOne" constrained="false" 
property-ref="sysHolderByIdHolder">
          </one-to-one>
      </class>

Index: Relation.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Relation.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Relation.java       26 Apr 2005 07:00:17 -0000      1.8
--- Relation.java       6 May 2005 07:37:26 -0000       1.9
***************
*** 58,62 ****
  
      /**
!      * @hibernate.one-to-one constrained="false"
       */
      public Simple getOneToOne() {
--- 58,62 ----
  
      /**
!      * @hibernate.one-to-one constrained="false" 
property-ref="sysHolderByIdHolder"
       */
      public Simple getOneToOne() {



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to