Re: Error conditions
Lars Marius Garshol <[email protected]> Thu, 15 Mar 2007 13:13:45 +0100
| Newsgroups | gmane.text.xml.xtm.tmql |
|---|---|
| Message-ID | <[email protected]> |
* Geir Ove Gr=F8nmo > > In the hope that it might be useful for the discussion, the new JDBC > 4.0 specification has rearranged the java.sql.SQLException class into > two different types of exceptions: > > - transient exceptions > > - non-transient exceptions This is a categorization that adds value, I agree. The trouble (from =20 our point of view) is that query errors are all non-transient. TMQL =20 doesn't deal with transient errors at all. Those are an API/=20 implementation issue. > E.g. syntax errors are considered non-transient errors. Exactly. And type errors, and incorrect parameters, and ... Transient errors are things like network failure, out of memory, lock =20= timeout, etc. --Lars M.