cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: cayenne 3.1: configure mymodule
Date Wed, 14 Mar 2012 19:02:35 GMT
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 <waldemargolder@web.de> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message