Here is what I found on the problem :


It seems that in 
"/cartridges/andromda-spring/src/templates/spring/hibernate/SpringHibernateDaoBase.vsl"
 at lines 156/167

#set ($attributes = $entity.getAttributes(true,false))

#if (!$attributes.empty)

    /**

     * @see 
${entity.root.fullyQualifiedDaoName}#create(${entity.getAttributeTypeList(true,
 false)})

     */

    public $entity.root.fullyQualifiedEntityName create(

#foreach($attribute in $attributes)

        $attribute.type.fullyQualifiedName 
$attribute.name#if($velocityCount != 
$attributes.size()),#else)#end



#end

    {

        return 
($entity.root.fullyQualifiedEntityName)this.create($entity.daoNoTransformationConstantName,
 ${entity.getAttributeNameList(true,false)});

    }



"$entity.getAttributes(true,false)" doesnt return the parameters in the same 
order as "${entity.getAttributeNameList(true,false)}". That means the call to 
create (line 167) is not going to have the right signature. I'm still trying to 
find out where those methods come from ...



Any help welcomed ...
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1517#1517
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

Reply via email to