diff options
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/H2SupportStrategy.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/H2SupportStrategy.java b/src/main/java/com/amazon/carbonado/repo/jdbc/H2SupportStrategy.java index 30a8810..f92fc6a 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/H2SupportStrategy.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/H2SupportStrategy.java @@ -25,11 +25,12 @@ package com.amazon.carbonado.repo.jdbc; * @since 1.2
*/
class H2SupportStrategy extends JDBCSupportStrategy {
+ private static final String DEFAULT_SEQUENCE_SELECT_STATEMENT = "SELECT NEXT VALUE FOR %s";
private static final String TRUNCATE_STATEMENT = "TRUNCATE TABLE %s";
protected H2SupportStrategy(JDBCRepository repo) {
super(repo);
-
+ setSequenceSelectStatement(DEFAULT_SEQUENCE_SELECT_STATEMENT);
setTruncateTableStatement(TRUNCATE_STATEMENT);
}
|