[ http://jira.andromda.org/browse/HIB-169?page=comments#action_12439 ] Erik Kimmel commented on HIB-169: ---------------------------------
To write this extension, I started from Hibernate mapping files generated by a previous AndroMDA 2.X custom extension. All our applications are based on these mappings. We adopted the following strategy, for your UML example: public Collection getAs(); public void setAs(Collection as); and public Collection getCs(); public void setCs(Collection cs); We generate both getter/setter couples. So we're compatible with all existing models. The problem is that I hardcoded a few things, as the return type of the getter or the collection type in the *.hbm.xml. > Take into account association classes > ------------------------------------- > > Key: HIB-169 > URL: http://jira.andromda.org/browse/HIB-169 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.1 > Reporter: Cédric Vidal > Assignee: Carlos Cuenca > > Association classes support has been added to UML metafacades, but are not > yet taken into account in the java files and hibernate mapping files > generated by the hibernate cartridges. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642