Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/compositeId/inner_pk_class
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18657/src/test/java/org/xdoclet/plugin/hibernate/compositeId/inner_pk_class
Modified Files:
InnerCompositeIdBean.java
Log Message:
(XDP-47) Hibernate3 support merged into trunk
Index: InnerCompositeIdBean.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/compositeId/inner_pk_class/InnerCompositeIdBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** InnerCompositeIdBean.java 20 Apr 2005 03:36:09 -0000 1.1
--- InnerCompositeIdBean.java 26 Apr 2005 07:00:13 -0000 1.2
***************
*** 14,19 ****
*/
public class InnerCompositeIdBean {
! public static class Pk implements Serializable {
private static final long serialVersionUID = 1L;
/**
--- 14,31 ----
*/
public class InnerCompositeIdBean {
+ /**
+ * @hibernate.composite-id unsaved-value="none"
+ */
+ public Pk pk;
! public void setPk(Serializable pk) {
! this.pk = (Pk) pk;
! }
!
! public Serializable getPk() {
! return pk;
! }
!
! public static class Pk implements Serializable {
private static final long serialVersionUID = 1L;
/**
***************
*** 25,41 ****
*/
private Long id2;
- }
-
- /**
- * @hibernate.composite-id unsaved-value="none"
- */
- public Pk pk;
-
- public Serializable getPk() {
- return pk;
}
!
! public void setPk(Serializable pk) {
! this.pk = (Pk) pk;
! }
! }
--- 37,40 ----
*/
private Long id2;
}
! }
\ No newline at end of file
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits