Skip site navigation (1) Skip section navigation (2)

Re: defaultAutoCommit problem with glassfish

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Douglas Hammond <wizhippo(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: defaultAutoCommit problem with glassfish
Date: 2007-07-25 22:08:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
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.


In response to


pgsql-jdbc by date

Next:From: Mikko TiihonenDate: 2007-07-26 00:33:44
Subject: BinaryTransfer patches v8
Previous:From: Douglas HammondDate: 2007-07-25 15:02:21
Subject: defaultAutoCommit problem with glassfish

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group