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-serv18199/src/test/java/org/xdoclet/plugin/hibernate/pojo
Modified Files:
ComponentMapping.java SetMapping.hbm.xml SetMapping.java
Simple.java
Log Message:
Added to @one-to-many tag (and some other) method level location
Index: SetMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/SetMapping.hbm.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** SetMapping.hbm.xml 5 May 2005 11:41:32 -0000 1.14
--- SetMapping.hbm.xml 11 May 2005 06:55:42 -0000 1.15
***************
*** 21,24 ****
--- 21,28 ----
<one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
</set>
+ <set name="fieldSet">
+ <key/>
+ <one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"/>
+ </set>
</class>
</hibernate-mapping>
Index: Simple.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Simple.java 6 May 2005 16:08:02 -0000 1.15
--- Simple.java 11 May 2005 06:55:42 -0000 1.16
***************
*** 20,24 ****
private Object _fullBlown;
private String _name;
-
/**
* property defined on field level
--- 20,23 ----
Index: ComponentMapping.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ComponentMapping.java 6 May 2005 16:08:02 -0000 1.6
--- ComponentMapping.java 11 May 2005 06:55:42 -0000 1.7
***************
*** 16,20 ****
*/
AnotherClass classComponent;
-
/**
* @hibernate.component
--- 16,19 ----
Index: SetMapping.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/SetMapping.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** SetMapping.java 5 May 2005 11:41:32 -0000 1.9
--- SetMapping.java 11 May 2005 06:55:42 -0000 1.10
***************
*** 15,18 ****
--- 15,25 ----
public class SetMapping {
private Set _set;
+ /**
+ * test one-to-many set using multiple key-column
+ *
+ * @hibernate.set
+ * @hibernate.one-to-many class="org.xdoclet.plugin.hibernate.pojo.Simple"
+ */
+ private Set fieldSet;
public void setElement(Set set) {
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits