Update H2Dictionary.java

according to https://github.com/h2database/h2database/issues/3386, `identity` is invalid.
This commit is contained in:
fuubo 2022-07-12 17:53:32 +08:00 committed by GitHub
parent c3da147fc9
commit 7f5df387d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class H2Dictionary extends DBDictionary {
supportsAutoAssign = true;
lastGeneratedKeyQuery = "CALL IDENTITY()";
autoAssignClause = "IDENTITY";
autoAssignClause = "GENERATED BY DEFAULT AS IDENTITY";
autoAssignTypeName = "INTEGER";
nextSequenceQuery = "CALL NEXT VALUE FOR {0}";