Re: Seeking to automate generation the cayenne schema

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Apr 10 2006 - 05:07:29 EDT

  • Next message: Dave Merrin: "Object Creation and Settings Ids"

    On Apr 8, 2006, at 10:30 PM, crai..ynect.com wrote:

    > Exception in thread "main" java.lang.NullPointerException
    > at
    > org.objectstyle.cayenne.conf.ConfigSaver.storeDomains
    > (ConfigSaver.java:94)

    It fails because it expects a ConfigSaveDelegate. Default delegate
    implementor, RuntimeSaveDelegate, in turn expects a Configuration
    instance that holds domains. In other words ConfigSaver can do all
    saving work for you if you give it a fully assembled access stack:

    Configuration -> DataDomain -> DataNode.

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Apr 10 2006 - 05:07:54 EDT