Are there no standard JDBC exception types that can be tested for? Or a better more extensible way of mapping these descriptions?
On Nov 20, 2012, at 6:14 PM, [hidden email] wrote:
As long as I know, SQLException (which should be thrown in the satasource#getConnection) only contains an errorCode and is vendor specific.
Besides that, matching error using hardcoded strings is not a good idea. Error messages varies depending on driver implementation and language.
On Tue, Nov 20, 2012 at 7:11 PM, Daniel Feist <[hidden email]> wrote:
|Free forum by Nabble||Edit this page|