Skip to content

Commit 4a315ba

Browse files
author
Thomas Risberg
committed
fixed rertieval of generated keys for HSQLDB 1.9 and fixed some typos (SPR-6266)
1 parent f4460dc commit 4a315ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.springframework.jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private Number executeInsertAndReturnKeyInternal(final List<Object> values) {
418418
return kh.getKey();
419419
}
420420
else {
421-
throw new DataIntegrityViolationException("Unable to retreive the generated key for the insert: " +
421+
throw new DataIntegrityViolationException("Unable to retrieve the generated key for the insert: " +
422422
getInsertString());
423423
}
424424
}

0 commit comments

Comments
 (0)