Multiple cayenne.xml files

From: Muzaffer Ozakca (mozakc..ndiana.edu)
Date: Fri Jun 08 2007 - 15:20:20 EDT

  • Next message: Muzaffer Ozakca: "Re: Multiple cayenne.xml files"

    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.



    This archive was generated by hypermail 2.0.0 : Fri Jun 08 2007 - 15:20:47 EDT