hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego <>
Subject Re: Using Hivemind with cayenne datacontext
Date Thu, 31 Mar 2005 09:01:07 GMT
Thanks, I tried the threaded model, but it didn't work for me. The
CayenneService was call from different threads in tapestry. So I think
I will store the DataContext in the visit when its created and pass it
to the service that need it.


On Wed, 30 Mar 2005 13:43:41 -0300, Marcus Brito <> wrote:
> On Wed, 30 Mar 2005 12:14:57 +0200, Diego <> wrote:
> > Should I use a Threaded Service Model or a Pooled Service Model to realize this?
> I'm not familiar with Cayenne, but ff Cayenne DataContexts are
> anything like Hibernate Sessions, yes, a threaded service model is
> what you want. This will create and bind a new object the first time
> it's asked for, and will return the same object in subsequents lookups
> within the same thread.
> -- Marcus Brito

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message