Changes report http://www.sourceforge.net Changes report en-us Copyright 2004 The Apache Software Foundation 21 change(s) for version 3.2 http://www.sourceforge.net/changes-report.html
Type Changes By
add The Hibernate cartridge now supports distributed entity caching with ehCache 1.2. Fixes HIB-192. freter
add The projct generator now supports a shortText property on prompt items to allow for better looking graphical UIs. The J2EE and Spring RCP project cartridge have been adjusted accordingly. Fixes ANDROMDAPP-16. freter
fix The hibernate cartridge did not properly support lists on many2many association ends, this has been fixed thanks to a patch from Paul Pavlidis. Fixes HIB-170. draftdog
update The generated enumerations now supports Java generics when enableTemplating has been set to true. Thanks to a patch from Jens Vagts. Fixes JAVA-27. draftdog
update Initializing collections is now taking into account Java generics when enableTemplating has been set to true. Thanks to a patch from Jens Vagts. Fixes HIB-162. draftdog
fix When using manageable entities it could happen that a server-side SQL exception is thrown due to an invalid HSQL query. This was due to a missing check when passing in an array: the array was tested for null but not for array.length == 0. This has been resolved. Fixes SPRING-147. draftdog
fix The hibernate byte Blob type has new nullSafeGet and nullSafeSet method implementations, thanks to a patch from Darius Schier. Fixes HIB-166. draftdog
update Pluralization of English words has been updated to more correctly determine the proper plural. This means that those users using words other than the ones that are being tested might see different accessor names on their beans, it might result in compilation failures due to files in version control but merely updating those files to reflect the new name will do the trick. Fixes UMLMETA-66. draftdog
fix Several fixes have been applied to the CRUD implementation in the Spring cartridge. These fixes will be apparent when using CRUD on entities which extend other entities. draftdog
add The Spring cartridge has a new optional outlet value-objects, used to emit CRUD value objects to, that way you can have them generated separately into a common component. draftdog
add The Hibernate cartridge's namespace has two new outlets: entity-mappings and user-types. The .hbm.xml files will be emitted to the former while the latter will be used for Hibernate enumeration user-types and the String Clob and Blob types. This will allow you to have your POJOs generated into a dedicated location such as common/target/src. The andromdapp:generate plugin has been updated to have both outlets point to the generated code of the core component. draftdog
add Spring service interfaces and default service exceptions are now emitted to a dedicated outlet called service-interfaces. Make sure to update your andromda.xml, the proper value for this namespace property is the generated source code directory for the 'common' component, if you have generated your project using andromdapp:generate this is ${common.generated.dir}. draftdog
add Services and entities now are allowed to realize interfaces. Any interfaces generalized by other interfaces won't be taken into account. Fixes UMLMETA-62. draftdog
update org::andromda::metafacades::uml::ClassifierFacade::associationEnds has been changed to {ordered} in order to match org::andromda::metafacades::uml::AssociationFacade::associationEnds so that the generated methods org.andromda.metafacades.uml.ClassifierFacade#getAssociationEnds() and org.andromda.metafacades.uml.AssociationFacade#getAssociationEnds() have the same signature (List return type instead of Collection). If you have written your own cartridge then you'll have to regenerate it. If one of your metafacades overrides org::andromda::metafacades::uml::ClassifierFacade::associationEnds then you'll have to change #getAssociationEnds()'s return type to java.util.List. Patch from Cédric Vidal. Fixes UMLMETA-61. cwbrandon
add org.andromda.metafacades.uml.AssociationClassFacade now extends both org.andromda.metafacades.uml.ClassifierFacade and org.andromda.metafacades.uml.AssociationFacade. The property associationClass : boolean has also been added to ClassifierFacade and AssociationFacade so that templates and other metafacades can act accordingly. Note that in order for the association classes in your model to be recognized by AndroMDA as such, you must use a UML editor that exports UML:AssociationClass in a XMI 1.1 compliant way. MagicDraw 9.x is not compliant in that respect but, there is an XSLT stylesheet that normalizes MagicDraw 9.x models into a UML:AssociationClass XMI 1.1 compliant file. It's available under JIRA issue UMLMETA-28. You can tell AndroMDA to apply that XSLT before processing in the configuration using transformations. Patch from Cédric Vidal. Fixes UMLMETA-61. cwbrandon
add The hibernate entity factories now have additional constructors making it easier to construct them using a single call. draftdog
add Value objects will now have extra constructors making it easier to properly populate them, there will a constructor taking all properties (including the inherited ones), and a constructor taking only those properties that are required and/or read-only. draftdog
add A new namespace property has been introduced: columnNamePrefix. It allows you to have all column names prefixed with a certain character sequence. draftdog
add Manageable entities now support generalization (inheritance). draftdog
add Value objects that have 'frozen' attributes or associations will no longer have a setter method generated for these features. draftdog
add Using the enableTemplating namespace property it is now possible to enable templating (i.e. generics in Java). A class or datatype with template parameters will have them rendered in their fully qualified name if this property is set to true. In addition the Hibernate cartridge also supports strongly typed associations, instead of just return a java.util.Collection the cartridge will now return java.util.Collection<MyType>. Fixes UMLMETA-58. draftdog