Try OpenEdge Now
skip to main content
SQL Reference
JDBC Reference : Java Class Reference : DhSQLException : DhSQLException.getDiagnostics : Parameter
 
Parameter
diagType
One of the argument values listed in the table below:
Table 55. Argument values for DhSQLException.getDiagnostics
Argument value
Returns
RETURNED_SQLSTATE
The SQLSTATE returned by execution of the previous SQL statement
MESSAGE_TEXT
The condition indicated by RETURNED_SQLSTATE
CLASS_ORIGIN
Not currently used; always returns NULL
SUBCLASS_ORIGIN
Not currently used; always returns NULL