Why don't you just use Cayenne Modeler to create an empty project (with just a DataDomain) and save it? You can then add everything to it at runtime.
On Wed, Mar 14, 2012 at 10:07 AM, Sheldon <[email protected]> wrote: > Hello, > I've create a custom module "MyModule", where I bind DataSourceFactory and > DataDomain. > Now I don't user a xml file. > > ServerRuntime runtime = new ServerRuntime("", new MyModule()); > > If I want to geht the ObjectContext I get a ConfigurationException: Error > loading configuration from file ... > > How can I disable this? > > best regards > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/cayenne-3-1-configure-mymodule-tp3825651p3825651.html > Sent from the Cayenne - Dev mailing list archive at Nabble.com. >
