Re: [enhydra] database connection problem
Thomas Schwarzpaul <[email protected]> Thu, 14 Apr 2005 11:19:13 +0200
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Mike, thanks for your answer. > What does the Connection object returned from your JDBC driver return > from the isClosed() method? The Connection object returns "true". > From a quick glance at the DODS source, the > "Inactiv connection closed due allocate() operation. Geting new one." debug > message only appears if an existing connection returns true from > isClosed() - which is intended to detect a connection that the database has > closed (e.g. due to a maximum idle time enforced for a connection). Didn't think about that. > Since > you're presumably getting this all the time, and I don't recognize your > JDBC driver, so I'm wondering if the driver hasn't implemented the > isClosed() method properly, and might be unconditionally returning true > from the isClosed() method. I'm using SAPDB with their latest version of the JDBC driver. Best regards, Thomas
message.footer
(text/plain, 275 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws