|
|
Choosing A Webhost: |
Re: Detecting 'socket errors' - closing the Connection object: msg#00368db.postgresql.jdbc
David Wall wrote: When we get the SQLSTATE patch in you'll be able to do: First of all, this is plain SQL + JDBC specs. The code falls into the "implementation defined" range, but ODBC, DB2 and Oracle use the same and my patch followed that convention (a sort of de facto standard for some of these values not pre-defined in the SQL standard itself). I don't know if all vendors did the same though -- I just checked these three. It is a limitation of the standards that they did not come out with a more compreheensive set of pre-defined numbers. I guess they do spect the applications to cope with the error code differences somehow. My patch was originally against 7.3, but it only includes the conditions detected by the driver. The backend will only spit SQLSTATEs from 7.4 on (i.e., V# protocol). -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@xxxxxxxxxx 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Prepared Statements, Peter Kovacs |
|---|---|
| Next by Date: | unsubscribe me please, Oana Mitrea |
| Previous by Thread: | Re: Detecting 'socket errors' - closing the Connection object, David Wall |
| Next by Thread: | Detecting 'socket errors' - SQLSTATE patch, David Wall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |