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-serv30477/src/test/java/org/xdoclet/plugin/hibernate/pojo
Modified Files:
ComponentMapping.hbm.xml ComponentMapping.java
Log Message:
(XDP-51) Added more tests for 'prefix' attribute
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.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ComponentMapping.java 6 May 2005 07:24:42 -0000 1.4
--- ComponentMapping.java 6 May 2005 08:09:42 -0000 1.5
***************
*** 18,21 ****
--- 18,26 ----
/**
+ * @hibernate.component prefix="p"
+ */
+ AnotherClass classComponent;
+
+ /**
* @hibernate.component class="foo.bar.Baz" update="false" insert="true"
parent="blam"
* @hibernate.meta attribute="blurge" value="bang"
***************
*** 38,40 ****
--- 43,54 ----
String foo;
}
+
+
+ public class AnotherClass {
+ /**
+ * @hibernate.property
+ * @hibernate.column name="one"
+ */
+ String stringField;
+ }
}
\ No newline at end of file
Index: ComponentMapping.hbm.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.hbm.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ComponentMapping.hbm.xml 6 May 2005 07:24:42 -0000 1.4
--- ComponentMapping.hbm.xml 6 May 2005 08:09:41 -0000 1.5
***************
*** 14,17 ****
--- 14,22 ----
<property name="foo" access="field" column="col"/>
</component>
+ <component name="classComponent" access="field">
+ <property name="stringField" access="field">
+ <column name="pone"/>
+ </property>
+ </component>
</class>
</hibernate-mapping>
-------------------------------------------------------
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