cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muzaffer Ozakca <moza...@indiana.edu>
Subject Re: Multiple cayenne.xml files
Date Fri, 08 Jun 2007 20:12:03 GMT
I think the problem is solved. I followed the instructions on
http://cayenne.apache.org/doc20/customizing-configuration.html

The second alternative in the DefaultConfiguration title.

Thanks!

Muzaffer Ozakca wrote:
> Hi all,
> 
> I have an application that uses Cayenne to connect to a DB (say DB-A). I 
> have another bunch of classes that connect to another DB (say DB-B). 
> Those two databases are completely unrelated. The classes from this 
> application are in a jar. I have cayenne.xml and other domain config 
> files in the first application's classes directory. cayenne.xml and 
> other config files for the second application are in the jar.
> 
> Now, I'm trying to use classes from the second app in the first app. 
> Understandably, cayenne is complaining that it cannot find the domain 
> for the second application.
> 
> I'm not sure if I was able to explain the problem clearly. Does anybody 
> know how to tell cayenne where it should look for db and domain config 
> files?
> 
> ps. I'm new to cayenne.
> 
> Thanks.
> 

Mime
View raw message