Strange behaviour of $LOOP$
Hi,
when i use the LOOP macro as in the attached file, i get the following output ...
{
int id = object2Save.getId();
}
{
int kopfId = object2Save.getKopfId();
}
{
int refArtikel = object2Save.getRefArtikel();
}
{
int numArtikel = object2Save.getNumArtikel();
}
{
Timestamp belegDatum = new Timestamp(object2Save.getBelegDatum().getMillis());
}
{
Timestamp createdAt = new Timestamp(object2Save.getCreatedAt().getMillis());
}
How can i get the { } reduced? At another place i also used {} in a $LOOP$ macro, and the braces get removed automatically...
Best,
Dan
when i use the LOOP macro as in the attached file, i get the following output ...
{
int id = object2Save.getId();
}
{
int kopfId = object2Save.getKopfId();
}
{
int refArtikel = object2Save.getRefArtikel();
}
{
int numArtikel = object2Save.getNumArtikel();
}
{
Timestamp belegDatum = new Timestamp(object2Save.getBelegDatum().getMillis());
}
{
Timestamp createdAt = new Timestamp(object2Save.getCreatedAt().getMillis());
}
How can i get the { } reduced? At another place i also used {} in a $LOOP$ macro, and the braces get removed automatically...
Best,
Dan
Please sign in to leave a comment.
same behavior if i just write
$LOOP$ {
int mything;
}
then the codegenerator also wraps ever int mything with braces.
$LOOP$[int mything;]