cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheldon <waldemargol...@web.de>
Subject cayenne 3.1: configure mymodule
Date Wed, 14 Mar 2012 15:07:17 GMT
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.

Mime
View raw message