RE: [INTERFACES] problem with JDBC - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] problem with JDBC
Date
Msg-id A9DCBD548069D211924000C00D001C4429346D@exchange.maidstone.gov.uk
Whole thread Raw
Responses RE: [INTERFACES] problem with JDBC  (Dave Broudy <shaggy@broudy.net>)
List pgsql-interfaces
Applets are strange beasts at best.

When you press Reload, not everything is really reloaded. When I used to
write applets (a couple of years ago noe), I found that pressing reload
simply reloaded from cache, and not from the network. It might be the
case here that the browser is simply continuing the existing applet,
rather than stopping it and then reloading a fresh one.

As I said, it's been a couple of years since I wrote an applet, so I may
be wrong now.

Peter

--
Peter T Mount, Enterprise Support
petermount@it.maidstone.gov.uk
Anything I write here are my own views, and cannot be taken as the
official words of Maidstone Borough Council

-----Original Message-----
From: ßN·¬ [mailto:yhf@ms.chttl.com.tw]
Sent: Wednesday, June 02, 1999 9:22 AM
To: pgsql-interfaces@postgreSQL.org
Subject: [INTERFACES] problem with JDBC


I have a problem with JDBC:
I write an applet including the JDBC code to connect to the pgsql server
to get data.
My applet runs fine everytime from the init() state.
But sometimes goes wrong if I press "Reload" on the browser which makes
my program runs again from the start() state.
The Statement gets the previous ResultSet to me when I
"executeQuery(SQLQuery)".
Is that possible that I get the previous ResultSet because I press the
"Reload" while the ResultSet is transferring to me ?
But the document says that the previous ResultSet will be close by the
Statement when that statement is re-executed .
Therefore, why do I get the previous ResultSet in the Statement ?



pgsql-interfaces by date:

Previous
From: Herbert Ambos
Date:
Subject: Re: [INTERFACES] working with ODBC driver
Next
From: Peter Mount
Date:
Subject: RE: [INTERFACES] Isolation level support with JDBC