[jOOQ/jOOQ#16834] Wrong DataAccessException to IntegrityConstraintViolationException translation for DuckDB
This commit is contained in:
parent
608f88a00e
commit
eb8dc8ce93
@ -3635,7 +3635,7 @@ final class Tools {
|
||||
|
||||
if (m.contains("constraint violated: duplicate key"))
|
||||
return new IntegrityConstraintViolationException("SQL [" + sql + "]; " + e.getMessage(), e);
|
||||
else if (m.contains("constraint Error: not nullL constraint failed"));
|
||||
else if (m.contains("constraint error: not null constraint failed"));
|
||||
return new IntegrityConstraintViolationException("SQL [" + sql + "]; " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user