Hi again,

I'm trying to implement bitemporal tables with the two layer specification, separating Valid-Times and Transaction-Times each ones in their own classes.
I've created a Bitemporal Stereotype, and i assign it to the association between the two classes.


While modifying the
HibernateEntity.vsl template I'm getting an error that is turning me crazy...
I've done a velocimacro with the following signature #macro ( isInHierarchie $aClass $aStereotype $found)

This recursive method finds if one of the classes in the hierarchie of the class passed as first parameter has an asociation labeled with the stereotype passedas the second parameter.
The third parameter is an outgoing boolean, also used as stop-condition in the recursion.

I've added the following to the template for starting the bitemporal methods generation:

#set ( $theresBitemporal
= false )
#estaEnJerearquia( $entity "Bitemporal" $
theresBitemporal )
#if (
$theresBitemporal )
//All code goes here
#end

The compilation of the cartridge goes well, but when I try to generate my own project, I get a
java.lang.StackOverflowError in 27 seconds in the line #108.
I've tested the recursion, and it goes well. The traces are just as expected.


I've changed the boolean value to a "customized" string ("si" and "no") and also with an integer (0 and 1) and the comparison still not working, so is not with boolean...
The error is given by the fact of passing a variable to the condition... but... in the velocimacro I'm doing the same, and it works

I've done all the changes that I can imagine... and it nevers runs.

Does anyone know what's going wrong?
How can I solve it?

Any ideas are wellcome
Thanks at advance

Regards
Bruno

------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to