db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: DERBY-1566: "SQL error messages and exceptions" doc
Date Thu, 31 Aug 2006 00:18:45 GMT
Daniel John Debrunner wrote:
> Jean T. Anderson wrote:
>>But I'll point out two differences between the 10.1 and 10.2 docs:
>>1) 10.2 severity column. I bet there's a story why that column didn't
>>make it into 10.1, but I sure don't remember. Anyone should feel free to
>>provide that info. If people don't like it for whatever reason, I can
>>easily remove it.
> The severity by definition (SQLException.getErrorCode) is a non-standard
> piece of Derby. I prefer not to document these values since it might
> encourage JDBC applications to depend on them, thus making it hard to
> migrate applications from Derby. (Ie. leads to Derby lock-in). JDBC 4
> addresses some of the requirements here by having specific classes of
> SQLException that applications can use, we should be encouraging their
> use instead of non-standard items.

thanks -- this makes an excellent reason for removing that severity
column and I'll do so.


View raw message