Hi David,

There's clearly a compatibility issue here. Reasonable applications do look at the SQLStates of caught exceptions. However, I think our guidelines let us fix incorrect SQLStates--including making the Network and Embedded clients agree. I would recommend listing SQLState changes in the Release Notes.

Regards,
-Rick

David W. Van Couvering wrote:

Hi, all. I looked at the listing of Derby's public APIs (see http://wiki.apache.org/db-derby/ForwardCompatibility), and it mentions "Derby's JDBC support".

I need to delve in a little deeper. Are we guaranteeing compatibility for the SQL States? For the 10.2 release, is it OK for me to change the SQL State of an existing message, or do I need to keep it the same across minor releases?

What about the text of messages? I noticed that we changed these between 10.0 and 10.1, so I'm assuming these can change across minor release boundaries. What about across patch releases?

Thanks,

David


Reply via email to