cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry (JIRA)" <>
Subject [jira] [Created] (CAY-1575) Error generating Embeddable classes in Cayenne Modeler
Date Mon, 30 May 2011 13:56:47 GMT
Error generating Embeddable classes in Cayenne Modeler

                 Key: CAY-1575
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 3.0.1
         Environment: Linux, OS X, and probably Windows (unverified)
            Reporter: Michael Gentry
            Priority: Critical

When generating classes in Cayenne Modeler, the getters for Embeddables are messed up:

    public void setTimeToFlip(long timeToFlip) {
        propertyWillChange("timeToFlip", this.timeToFlip, timeToFlip);
        this.timeToFlip = timeToFlip;
    public $classGen.formatJavaType(${attr.Type}) getTimeToFlip() {
        return timeToFlip;

Note that the setter is fine while the getter still has Velocity tokens present.  This will
not compile.  I didn't test if this same problem exists using external generation.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message