Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.10.2.0
-
None
-
Windows 7 x86_64, Java 1.6.0.45
Description
If a unique constraint is violated by an insert statement, then Derby throws an SQLIntegrityConstraintViolationException. The error message contains, in particular, the constraint name and the table name.
To distinguish between cases with various constraints, Derby should instead throw a subclass of SQLIntegrityConstraintViolationException, with methods like getConstraintName(), and getTableName().
Attachments
Attachments
Issue Links
- relates to
-
DERBY-6779 Provide subclass of SQLException for duplicate key insertions
- Open