cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Singletons in Cayenne and problems. Can I use multiple transactions?
Date Tue, 01 Dec 2009 18:51:35 GMT
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.andrey@gmail.com> wrote:
> 2009/12/1 Andrus Adamchik <andrus@objectstyle.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)
>

Mime
View raw message