Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1C9401337BD1 for ; Wed, 6 Apr 2011 19:17:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 38505-05 for ; Wed, 6 Apr 2011 22:17:39 +0000 (UTC) X-Greylist: delayed 00:25:48.895756 by SQLgrey-1.7.6 Received: from mail.kickstone.com (smtp.kickstone.co.uk [87.194.183.70]) by mail.postgresql.org (Postfix) with ESMTP id 875691337B9C for ; Wed, 6 Apr 2011 19:17:39 -0300 (ADT) Received: from 87-194-183-69.dsl.cnl.uk.net ([87.194.183.69]:2102 helo=MADRAS2) by mail.kickstone.com with esmtpa (Exim 4.71) (envelope-from ) id 1Q7ade-0002YI-Ih for pgsql-jdbc@postgresql.org; Wed, 06 Apr 2011 22:51:46 +0100 Message-ID: <02A1185E68DA479596BD9F56FD0CB637@squarepi.com> From: "John Lister" To: Subject: Recommended resource type and settings for J2EE/Glassfish connection pool Date: Wed, 6 Apr 2011 22:51:46 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01CBF4AD.34BB70D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.499 tagged_above=-10 required=5 tests=BAYES_05=-0.5, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201104/41 X-Sequence-Number: 21767 This is a multi-part message in MIME format. ------=_NextPart_000_000C_01CBF4AD.34BB70D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, what is the recommended/supported/best resource type to use with a = J2EE server eg Glassfish for the connection pool? I'm currently using = javax.sql.ConnectionPoolDataSource with PGSimpleDataSource as the class, = however I would have thought an XADataSource would be better? I seem to remember a while ago trying it but having quite a few problems = so gave up, but want to look at this again from a performance point of = view. Also, what settings/parameters would anyone recommend either to the = connection pool or the driver itself such as statement caching? Thanks John -- Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/ ------=_NextPart_000_000C_01CBF4AD.34BB70D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, what is the=20 recommended/supported/best resource type to use with a J2EE = server eg=20 Glassfish for the connection pool? I'm currently using=20 javax.sql.ConnectionPoolDataSource with PGSimpleDataSource as the class, = however=20 I would have thought an XADataSource would be better?
 
I seem to remember a while ago trying = it but having=20 quite a few problems so gave up, but want to look at this again from a=20 performance point of view.
 
 
Also, what settings/parameters would = anyone=20 recommend either to the connection pool or the driver itself such as = statement=20 caching?
 
Thanks
 
John
--
 
Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/<= BR>
------=_NextPart_000_000C_01CBF4AD.34BB70D0--