Re: Cayenne Programmatic Configuration

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Feb 12 2010 - 06:47:42 EST

  • Next message: Borut Bolčina: "Merging Configuration from Multiple Deployment Units"

    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



    This archive was generated by hypermail 2.0.0 : Fri Feb 12 2010 - 06:48:17 EST