wood burning stoves 2.0*
The moose likes JDBC and the fly likes Oracle SQLException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle SQLException" Watch "Oracle SQLException" New topic

Oracle SQLException

Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62

I am working in J2EE conversion project from DB2 to oracle. The DB2Diagnosable is used in the java class for get detail information about SQLException for DB2 Database. I would like to know similar for Oracle database.

The following information can get it from DB2Diagnosable.

sqlCode, sqlErrmc, sqlErrmcTokens, sqlErrp, sqlErrd, sqlWarn and sqlState

Maybe someone around here knows a workaround?

Thanks in advance

Thanks and Regards
Chandra Mohan
subject: Oracle SQLException
Similar Threads
Design Decision: Database User List
Data lost when writing object to a file
Errors using Oracle XA datasource
Exception handling for stored procedure from Java code
free database