cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Upgrading Applications from Cayenne 3.0 to 3.1
Date Tue, 28 May 2013 13:40:14 GMT
I've started putting a CayenneUtils class in my 3.0 apps which has:

    public static DataContext newContext()
    {
        return DataContext.createDataContext();
    }

When I switch it over to 3.1, I'll change this method to create the context
from the server runtime and also add the server runtime bootstrapping to
the class.  This way the application generally won't be impacted unless
doing tricky things.  I just have a new place to get the contexts.

mrg



On Tue, May 28, 2013 at 9:10 AM, Malcolm Edgar <malcolm.edgar@gmail.com>wrote:

> Ok thanks, that is good to know.
>
> regards malcolm
>
> Sent from my iPad
>
> On 28/05/2013, at 5:33 PM, Andrus Adamchik <andrus@objectstyle.org> wrote:
>
> > The biggest difference is clearly the configuration and bootstrapping
> part. Once you got a hold of your ObjectContext, the experience should be
> pretty much the same.
> >
> > Andrus
> >
> > On May 25, 2013, at 8:36 AM, Malcolm Edgar <malcolm.edgar@gmail.com>
> wrote:
> >
> >> Hi All,
> >>
> >> I would like hear about peoples experiences upgrading web applications
> from
> >> Cayenne 3.0 to 3.1 ?
> >>
> >>
> http://cayenne.apache.org/docs/3.1/upgrade-guide/ar01.html#cayenne-modeler
> >>
> >> What issues did people experience, and do you have any advice you can
> >> provide.
> >>
> >> thanks for your help.
> >>
> >> regards Malcolm Edgar
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message