Re: isGenerated property

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Oct 24 2005 - 13:09:12 EDT

  • Next message: noban: "Solved: cayenne.jar as Eclipse plug-in - problems with cayenne.xml"

    DbAttribute.setGenerated(boolean) is the method to call.

    Also DataMap.encodeAsXML(PrintWriter) can be used to save the DataMap.

    Andrus

    On Oct 24, 2005, at 12:24 PM, Dave Merrin wrote:
    > I'm trying to programatically update my data map xml file with the
    > isGenerated property. I can load the DataMap from file and can
    > presumably
    > save it to file.
    >
    > I'm trying to work out how I can add the isGenerated property to the
    > DbEntity attributes though.
    >
    > Is all this possible or am I just being wishful?
    >
    > Cheers,
    >
    > Dave



    This archive was generated by hypermail 2.0.0 : Mon Oct 24 2005 - 13:09:16 EDT