mirror of https://github.com/apache/openjpa.git
Update H2Dictionary.java
according to https://github.com/h2database/h2database/issues/3386, `identity` is invalid.
This commit is contained in:
parent
c3da147fc9
commit
7f5df387d0
|
@ -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}";
|
||||
|
||||
|
|
Loading…
Reference in New Issue