From: Carlos Correia <carlos@m16e.com>
To: jdbc.postgres <pgsql-jdbc@postgresql.org>
Subject: Re: Statement has been closed (only in Windows)
Date: Tue, 07 Feb 2006 23:09:28 +0000
Message-ID: <43E928A8.3080408@m16e.com> (raw)
In-Reply-To: <1139281571.2693.66.camel@localhost.localdomain>
References: <43E64FD8.9030704@m16e.com>
<1139281571.2693.66.camel@localhost.localdomain>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
pedro farinha escreveu:
| Hi Carlos, if you're problem is solved what is the question?
| if you worry about creating a lot of statements, don't. But make sure
| you close them after use. Also the resultSet if any. Not a big brain on
| this end, but why would you want to keep the statement open?
Well, why not? It's a fat client, It establishes a connection at
application start up and closes it once the app finishes... what's the
problem about keeping the same statement (it's been working like that in
a production environment for years in Linux)?
Anyway, after I made the workaround I mentioned in a previous post
(creating a new statement per request), began getting errors in prepared
statements, which I'll try to reproduce (tomorrow?) and published them here.
The questions now are:
- - How stable is PostreSQL on a Windows environment, by now?
- - Are there any known problems with transactions, prepared statements or
storeed procedures in a Windows environment?
Thanks,
Carlos
- --
MEMÓRIA PERSISTENTE, Lda.
Tel.: 219 291 591 - GSM: 967 511 762
e-mail: geral@m16e.com - URL: http://www.m16e.com
AIM: m16e - ICQ: 257488263 - Jabber: m16e@amessage.de
Skype.com username (VoIP): m16e.com
GnuPG: wwwkeys.eu.pgp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD6Sio90uzwjA1SJURAu43AJ9t6YzRnncHCBbxsdbe111jFWVzWQCgo3T1
fnnTxAl/v+irDbYrRyq2Xt0=
=/OV6
-----END PGP SIGNATURE-----
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: carlos@m16e.com
Subject: Re: Statement has been closed (only in Windows)
In-Reply-To: <43E928A8.3080408@m16e.com>
References: <43E64FD8.9030704@m16e.com> <1139281571.2693.66.camel@localhost.localdomain> <43E928A8.3080408@m16e.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