Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22465/samples/src/java/test/hibernate30

Modified Files:
        Person.java 
Log Message:
XDT-1257: join implementation fixed -- join elements now generated after 
standard properties; one-to-one element for Hibernate3

Index: Person.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Person.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Person.java 1 Jun 2005 18:17:07 -0000       1.3
--- Person.java 2 Jun 2005 14:15:38 -0000       1.4
***************
*** 10,13 ****
--- 10,14 ----
        private String street;
        private String city;
+       private Human human;
        
        /**
***************
*** 70,73 ****
--- 71,98 ----
                this.city = city;
        }
+       
+       /**
+        * @hibernate.one-to-one formula="formula sql"
+        *                       access="property"
+        *                       class="test.hibernate30.Human"
+        *                       entity-name="HUMANS"
+        *                       cascade="delete"
+        *                       outer-join="true"
+        *                       fetch="join"
+        *                       constrained="false"
+        *                       foreign-key="ID"
+        *                       property-ref="prop ref"
+        *                       lazy="true"
+        *                       node="person"
+        *                       embed-xml="true"
+        * @hibernate.meta attribute="attribute" value="value"
+        */
+       public Human getHuman() {
+               return this.human;
+       }
+       
+       public void setHuman(Human human) {
+               this.human = human;
+       }
  
  }



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to