RE: [INTERFACES] problem with JDBC
От | Peter Mount |
---|---|
Тема | RE: [INTERFACES] problem with JDBC |
Дата | |
Msg-id | A9DCBD548069D211924000C00D001C4429346D@exchange.maidstone.gov.uk обсуждение исходный текст |
Ответы |
RE: [INTERFACES] problem with JDBC
|
Список | 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 по дате отправления: