cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Cayenne Programmatic Configuration
Date Fri, 12 Feb 2010 11:47:42 GMT
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


Mime
View raw message