Re: Question about using a library having Cayenne embedded within a project using Cayenne

2007-11-11 Thread Andrus Adamchik
Hi Sukanya, The simplest way to resolve such conflicts is to avoid place cayenne.xml in the root of the jar (place it in a package subdirectory instead). And then instantiate a separate Configuration for each cayenne.xml instead of using a shared one: http://cayenne.apache.org/doc/customi

Question about using a library having Cayenne embedded within a project using Cayenne

2007-11-08 Thread Sukanya Ratanotoyanon
Hello, I'm having a problem getting a correct DataDomain when I'm using a library containing cayenne objects. Basically, I'm working on a project using Cayenne. I need the database URL, usename and password to be configurable. Therefore, I have this method to set up them up like this: