Sorry, after reflexion, trial and error(tm) the problem is in fact around the "requiredAttributes" create() method (line 188-220).
#set ($requiredProperties = $entity.getRequiredProperties(true,false)) #if (!$requiredProperties.empty && $entity.getRequiredAttributes(true,false).size() != $requiredProperties.size()) /** * @see ${entity.fullyQualifiedDaoName}#create(${entity.getRequiredPropertyTypeList(true, false)}) */ public $entity.root.fullyQualifiedEntityName create( #foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else)#end #end { return ($entity.root.fullyQualifiedEntityName)this.create($entity.daoNoTransformationConstantName, ${entity.getRequiredPropertyNameList(true,false)}); } /** * @see ${entity.fullyQualifiedDaoName}#create(int, ${entity.getRequiredAttributeTypeList(true, false)}) */ public Object create( final int transform, #foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else)#end #end { $entity.fullyQualifiedEntityName entity = new ${entity.fullyQualifiedEntityImplementationName}(); #foreach ($property in $requiredProperties) entity.${property.setterName}($property.name); #end return this.create(transform, entity); } #end #end _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1518#1518 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user