From: Grégory J. (J. <ji...@co...> - 2010-03-26 14:52:29
|
[ http://jira.codehaus.org/browse/XDP-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated XDP-223: ------------------------------- Fix Version/s: (was: 1.0.5) 1.0.6 > Hibernate compoist-id primary key support > ----------------------------------------- > > Key: XDP-223 > URL: http://jira.codehaus.org/browse/XDP-223 > Project: XDoclet 2 Plugins > Issue Type: Improvement > Components: hibernate > Affects Versions: 1.0.5 > Environment: himernate 3.x > Reporter: Apurv Sheth > Fix For: 1.0.6 > > > To generate composit primary key without using class with the help of xdoclet2. > for ex: > class x { > private int a1; > private int a2; > /** > * @hibernate.composite-key > */ > //getter for a1 > //setter for a1; > /** > * @hibernate.composite-key > */ > //getter for a2; > //setter for a2; > } > hence it should generate hbm file as > <composite-key> > <Key-property>a1</Key-property> > <Key-property>a1</Key-property> > </composite-key> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |