Merge branch '5.3.x'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,6 +23,7 @@ import javax.sql.DataSource;
|
||||
* of a given H2 sequence.
|
||||
*
|
||||
* @author Thomas Risberg
|
||||
* @author Henning Pöttker
|
||||
* @since 2.5
|
||||
*/
|
||||
public class H2SequenceMaxValueIncrementer extends AbstractSequenceMaxValueIncrementer {
|
||||
@@ -47,7 +48,7 @@ public class H2SequenceMaxValueIncrementer extends AbstractSequenceMaxValueIncre
|
||||
|
||||
@Override
|
||||
protected String getSequenceQuery() {
|
||||
return "select " + getIncrementerName() + ".nextval from dual";
|
||||
return "values next value for " + getIncrementerName();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user