Re: Postgress double connections
Re: Postgress double connections
- Subject: Re: Postgress double connections
- From: Johann Werner via Webobjects-dev <email@hidden>
- Date: Sat, 25 Apr 2020 17:06:43 +0200
Hi Michael,
as far as I remember that is the adapter creating an additional connection to
retrieve the list of available data types that (often?) is not closed due to a
bug. You can alter your connection string by adding the param
useBundledJdbcInfo:
dbConnectURLGLOBAL=jdbc:postgresql://your-db-server:5432/your-db-name?useBundledJdbcInfo=true
By this it uses a local copy of the info and skips the retrieval from DB. As
the set of available DB data types is quite constant that should be fully
sufficient for 99% of use cases.
jw
> Am 25.04.2020 um 16:39 schrieb Michael Kondratov via Webobjects-dev
> <email@hidden>:
>
> Hi!
>
> One of my webobjects applications creates two connections to Postgress
> database after start up instead of one. Any ideas why it may be happening?
>
>
>
> Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden