Re: CayenneModeler: "Superclass Package

From: Joe Baldwin (jfbaldwi..arthlink.net)
Date: Tue Jul 08 2008 - 11:16:44 EDT

  • Next message: Andrus Adamchik: "Re: CayenneModeler: "Superclass Package"

    Scott,

    Here are more details:

    > <property name="defaultPackage" value="net.bnubot.db"/>

    this attribute is in my map

    > <property name="defaultSuperclass"

    this attribute is not.

    CayenneModeler - FullMap "Java Package" is listed correctly. (i.e.
    saves the changes)

    CayenneModeler - "Code Generation" "Superclass Package" is incorrect.
    (i.e. changes only while Modeler is running, but looses them on
    restart).

    Result:
    The subclassed generated classes are in the new directory, while the
    "auto" superclass classes are placed in a directory with the old name.

    Joe

    On Jul 8, 2008, at 10:50 AM, Scott Anderson wrote:

    > Here's what my mapping file looks like:
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <data-map project-version="3.0">
    > <property name="defaultPackage" value="net.bnubot.db"/>
    > <property name="defaultSuperclass"
    > value="net.bnubot.db.CustomDataObject"/>
    > ...
    >
    > -----Original Message-----
    > From: Joe Baldwin [mailto:jfbaldwi..arthlink.net]
    > Sent: Tuesday, July 08, 2008 10:47 AM
    > To: use..ayenne.apache.org
    > Subject: CayenneModeler: "Superclass Package
    >
    > Where is the CayenneModeler attribute "Superclass Package" saved for
    > 3M4?
    >
    > (It appears that all changes to "Superclass Package" are lost once
    > CayenneModeler is terminated.)
    >



    This archive was generated by hypermail 2.0.0 : Tue Jul 08 2008 - 11:17:19 EDT