pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nelson Arape <narape@ica.luz.ve>
To: pgsql-jdbc@postgresql.org
Subject: Re: Statement has been closed (only in Windows)
Date: Tue, 7 Feb 2006 21:16:47 -0400
Message-ID: <200602072116.47773.narape@ica.luz.ve> (raw)
In-Reply-To: <43E928A8.3080408@m16e.com>
References: <43E64FD8.9030704@m16e.com>
	<1139281571.2693.66.camel@localhost.localdomain>
	<43E928A8.3080408@m16e.com>

El Martes, 7 de Febrero de 2006 19:09, Carlos Correia escribió:
> 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)?
>
Maybe your problem is more related to the transition from postgres (and its 
JDBC driver) from 7.x to 8.x.

Why not you try your migration in steps

1.	Migrate to Postgres 8.x (and its JDBC driver) on Linux
2.	Migrate from linux to windows.

I think that the step to may be easer than step 1 due to changes related to 
use network protocol version 3 and serverside prepare statement.

Nelson ArapƩ



view thread (5+ messages)

Message-ID: <200602072116.47773.narape@ica.luz.ve>
Permalink:  ../200602072116.47773.narape@ica.luz.ve/
Also on:    postgresql.org/message-id/200602072116.47773.narape@ica.luz.ve

 · 

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: narape@ica.luz.ve
  Subject: Re: Statement has been closed (only in Windows)
  In-Reply-To: <200602072116.47773.narape@ica.luz.ve>
  References: <43E64FD8.9030704@m16e.com> <1139281571.2693.66.camel@localhost.localdomain> <43E928A8.3080408@m16e.com> <200602072116.47773.narape@ica.luz.ve>

* 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