On Aug 8, 2008, at 5:17 PM, Chris Gamache wrote:

On Fri, Aug 8, 2008 at 3:08 PM, Andrus Adamchik <[EMAIL PROTECTED] >wrote:

org.apache.cayenne.conf package classes log all startup info. So that can be used for debugging. Of course if you merge configs by hand, you'd have to
implement your own logging.


I guess you're referring to the method I use to load multiple configurations at DataContext creation time... :) So, I dropped in a logging facility into my ContextCreator to iterator over the ObjEntity collection. There's tons of information to choose from. What would be your advice on what to look for?

Loading DataMap events.

Or you can just shoot in the dark, and synchronize your custom config loading code; or implement eager loading on app startup (from a filter or a listener method) that will be done in a single threaded fashion.

Andrus

Reply via email to