|
|
Choosing A Webhost: |
Detecting 'socket errors' - SQLSTATE patch: msg#00364db.postgresql.jdbc
> >>When we get the SQLSTATE patch in you'll be able to do: > >>if ((e.getSQLState() != null) && (e.getSQLState().equals("08S01"))) > >>throw new ExplainException("Communication link error: " + e.getMessage()); .... > First of all, this is plain SQL + JDBC specs. Really! Wow, now that's cool. When will the SQLSTATE patch be available? And it will really work with Oracle and DB2, too? That's precisely the kind of solution I'm looking for. Perhaps I'll write my code to work with or without it for now, unless that patch will be available shortly. I need my solution to be in place in a week or so, and I think my current coding workaround will be compatible (sending the Connection and SQLException to a pool handler), though this may save the 'select 1' hack. David ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: patch: support user implementations of Array in setArray(), Oliver Jowett |
|---|---|
| Next by Date: | Re: Prepared Statements, Tom Lane |
| Previous by Thread: | Re: Detecting 'socket errors' - closing the Connection object, Fernando Nasser |
| Next by Thread: | Using "dummy" SQL call to verify JDBC Connection okay for pool, 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 |