On 4/22/15 11:04 AM, Gary Gregory wrote:
> Hi All:
>
> JDBC's SQLException has a String SQLState field.
>
> I have a need for a formal OO SQLState class and I've started to hack up
> something very limited for the purpose our app. I feels hacky and less than
> satisfactory ATM.
>
> I wonder: What do you do for handling and generating SQL states in your
> apps?
>
> Do you know of a good FOSS code base out there that deals with this?

Well, it ain't exactly OO-heavenly but as of 2.1, [dbcp]  does deal
with states, at least the ones that signal connection badness.  See
DBCP-427. 

Phil
>
> Merci!
> Gary
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to