Hi,
i want use 2 cayenne.xml, 1 for develop and 1 for production.
I have tried to use this code.
String fileName = "my-dynamically-cayenne.xml";
FileConfiguration conf = new FileConfiguration(fileName);
Configuration.initializeSharedConfiguration(conf);
but when i call the last line of code, i have an exception:
org.objectstyle.cayenne.ConfigurationException: [v.1.1.1 March 13 2005] Error during Configuration initialization. [v.1.1.1 March 13 2005] [org.objectstyle.cayenne.conf.FileConfiguration] : Domain configuration file "cayenne.xml" is not found.
Why during initialization, it search for a configuration file?
I have configured a new name... so why cayenne search again cayenne.xml"?
Thank's
Davide
This archive was generated by hypermail 2.0.0 : Mon Apr 11 2005 - 11:20:08 EDT