pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Douglas Hammond <wizhippo@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: defaultAutoCommit problem with glassfish
Date: Thu, 26 Jul 2007 10:08:38 +1200
Message-ID: <46A7C9E6.1090502@opencloud.com> (raw)
In-Reply-To: <198625570707250802k5a325718ic805df8201ba020b@mail.gmail.com>
References: <198625570707250802k5a325718ic805df8201ba020b@mail.gmail.com>

Douglas Hammond wrote:

>       <bean id="dsAdapter" destroy-method="close"
>               class="org.postgresql.ds.PGConnectionPoolDataSource">

>               <property name="defaultAutoCommit" value="false" />

AFAIK there is no javabean accessor on PGConnectionPoolDataSource for a 
property named "defaultAutoCommit".

If you try to set some obviously incorrect property 
("thisPropertyDoesNotExist"), what happens? The bug may be that whatever 
is building the DS from the XML is silently ignoring properties that it 
can't find an accessor for, rather than complaining about misconfiguration.

-O



view thread (4+ messages)  latest in thread

Message-ID: <46A7C9E6.1090502@opencloud.com>
Permalink:  ../46A7C9E6.1090502@opencloud.com/
Also on:    postgresql.org/message-id/46A7C9E6.1090502@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, wizhippo@gmail.com
  Subject: Re: defaultAutoCommit problem with glassfish
  In-Reply-To: <46A7C9E6.1090502@opencloud.com>
  References: <198625570707250802k5a325718ic805df8201ba020b@mail.gmail.com> <46A7C9E6.1090502@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox