Re: Singletons in Cayenne and problems. Can I use multiple transactions?

From: Michael Gentry (mgentr..asslight.net)
Date: Tue Dec 01 2009 - 13:51:35 EST

  • Next message: Andrus Adamchik: "Re: Singletons in Cayenne and problems. Can I use multiple transactions?"

    I agree with Andrey here. I think it is better for Cayenne to provide
    this in a consistent/standardized way for those who want it rather
    than requiring people to roll their own each time. Those who need
    something more complex can implement something more complex, but let's
    keep the common case easy/standard.

    mrg

    On Tue, Dec 1, 2009 at 1:29 PM, Andrey Razumovsky
    <razumovsky.andre..mail.com> wrote:
    > 2009/12/1 Andrus Adamchik <andru..bjectstyle.org>
    >
    >> This is just a convenience in Cayenne. Nobody's forced to use it. I will go
    >> as far as to suggest to remove it from Cayenne 3.1 as a built-in feature,
    >> and just document it as a possible design pattern in a user application.
    >>
    >>
    > I'm -1. We can see some profit in moving it from BC class (say, to new
    > "Cayenne" utility). But I'm sure it is widely used by everyone who uses
    > Cayenne in web apps (or maybe even in desktop apps)
    >



    This archive was generated by hypermail 2.0.0 : Tue Dec 01 2009 - 13:52:24 EST