I suggest that while on 3.0 you keep using 'setDataSourceFactory' (I think I will go as far as removing the deprecated note from the setter in 3.0).

Perhaps the best way to set the Datasource via Spring!

You can if you want to, this can still be based on 'setDataSourceFactory' call.

Andrus

On Feb 12, 2010, at 2:50 AM, Gary Jarrel wrote:

Hi All

I noticed that the in 3.0 onwards Configuration.setDataSourceFactory has been depricated. What are some of the best practices to configure Cayenne
programmaticly?

Perhaps the best way to set the Datasource via Spring!

Thank you

Gary

Reply via email to