Back in Cayenne 1.2/2.0, there was a way to specify additional
datamaps in cgen.   Maybe that's what's missing for you now, although
I don't know for certain.

On Tue, Oct 28, 2014 at 7:59 PM, Lon Varscsak <[email protected]> wrote:
> There appears to be an issue either with class generation or something with
> my model.
>
> Whenever I have a relationship that crosses datanodes the TargetEntity is
> null.  So I get things like in the Java class:
>
> public static final Property<$importUtils.formatJavaType(${rel.TargetEntity.
> ClassName})> COMPANY = new Property<$importUtils.formatJavaType(${rel
> .TargetEntity.ClassName})>("company");
>
> If the entity is with the same datanode I don't have an issue (same line in
> the velocity template).
>
> Any ideas?
>
> Thanks,
>
> Lon

Reply via email to