johnthuss opened a new pull request #383: Cgen - Avoid class loader issues causing missing classes URL: https://github.com/apache/cayenne/pull/383 Cgen - Avoid class loader issues causing missing classes; don't swallow missing class errors completely It took me almost a full day to find where an exception was being swallowed which would have indicated the problem here. Whatever class loader is being used by Cgen (AdhocObjectFactory) is not picking up classes that are available in the default class loader - namely all the Joda classes, like org.joda.time.LocalDateTime. This change will make it fallback to using the default class loader if a class is not found, and will log a single line WARNing if the class isn't found by either class loader.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
