sqlState property
SQLSTATE code from the ODBC driver (if available).
This is a 5-character SQLSTATE code that provides more specific information about the error. For example:
08001- Unable to connect to data source42000- Syntax error or access violation23000- Integrity constraint violation
Implementation
final String? sqlState;