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-serv14049/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/compositeId/inner_pk_class
Added Files:
InnerCompositeIdBean.java
Log Message:
Alteration in composite-id tag, now it also can be placed into class attributes
and class methods.
--- NEW FILE: InnerCompositeIdBean.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.hibernate.compositeId.inner_pk_class;
import java.io.Serializable;
/**
* Test pojo to test composite-id with inner class PK class aproach.
*
* @hibernate.class table="composite-id-bean-tbl"
*/
public class InnerCompositeIdBean {
public static class Pk implements Serializable {
private static final long serialVersionUID = 1L;
/**
* @hibernate.key-property position="1"
*/
private Long id1;
/**
* @hibernate.key-property position="2"
*/
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;
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-plugins-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits