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:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 10:47 AM
To: [email protected]
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.)


Reply via email to