Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How can I get additional information about exception?

MichaelNesterenkoJul 8 2013 — edited Oct 15 2014

I need to extract additional information from sql exception.

For example I get following exception during query execution http://ora-12899.ora-code.com/ I need to extract column name (without table name). I could do that with regular expressions, but that seems to be very fragile as message may depend on client locale and also it could change when oracle version changes.

How can I get such additional information without message parsing?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 6 2013
Added on Jul 8 2013
4 comments
471 views