Hello everyone. I reverse-engineered an existing database in Cayenne
modeler -worked very smoothly-then I created a maven project and ran the
cgen plugin on the resulting mapping files (there are 2, one for each of
2 data nodes / schemas). The first worked fine. For the second, in the
generated java POJOs, about half or more of the addTo*Array() and
removeFrom*Array() methods have for a parameter
"$importUtils.formatJavaType(${rel.TargetEntity.ClassName}) obj", which
obviously results in compiler errors. This looks like an unexpanded
variable from the code templates, like maybe it's not being set? Is this
a known bug? Is there a work-around?

 

Thanks!

Joel

 

Reply via email to