cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Using multiple Db connections to single Database
Date Thu, 26 Jan 2017 18:15:15 GMT
Are you creating a new ObjectContext for each request?  You should be.

On Thu, Jan 26, 2017 at 12:11 PM Alexander Uherek <auherek@mackoy.de> wrote:

> Hello,
>
> I am using Cayenne 3.0.2 together with the play Framework (1.2.7).
> I configured the framework to use a pool of 10 DB-connections, which
> according to pg_stats are opened and idle.
> Unfortunatly only one connection is used for my Cayenne Queries.
> Do you have any hints?
>
>
> Alexander Uherek
> IT-Services
>
> mackoyCONSULTING
> Schloss Seefeld | Hochschloss
> 82229 Seefeld
> Tel.    +49 8152/92989-82 <+49%208152%209298982>
> Fax    +49 8152/92989-89 <+49%208152%209298989>
>
> auherek@mackoy.de
> www.mackoy.de <http://www.mackoy.de/>
>

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