[ http://jira.andromda.org/browse/HIB-134?page=comments#action_12132 ] Carlos Cuenca commented on HIB-134: -----------------------------------
Hi, thank you very much for your patch, in order to check it, could you please send a CVS diff, as specified in http://www.andromda.org/coding-conventions.html#Submitting_Patches Thank you very much in advance! Carlos > composite-id > ------------ > > Key: HIB-134 > URL: http://jira.andromda.org/browse/HIB-134 > Project: Hibernate Cartridge > Type: New Feature > Reporter: Thomas Schmidt > Assignee: Carlos Cuenca > Attachments: HibernateEntity.vsl, HibernatePK.vsl, hibernate.hbm.xml.vm, > hibernate.hbm.xml.vsl, hibernate.java.vm > > I need a possibility of generating <composite-id>. > If more then one attribute is an identifier, Andromda should be generate a > <composite-id> instead of <id>. Either the individual fields then are > <key-property> if it is a simple field or <key-many-to-one> if the field part > is a many2One relation. > I have begun to carry out corresponding customizations since I immediately > need this functionality. > I will publish them as soon as here they are ready. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php