FIX: Sqlite does not support ResultSetConcurrencyModeUpdatable

This commit is contained in:
Roland Praml committed 2021-11-26 15:02:46 +01:00
1 parent 331ea90e14
commit 2581d82cff
1 file changed
+1
@@ -24,6 +24,7 @@ public class SQLitePlatform extends DatabasePlatform {
this.dbDefaultValue.setFalse("0"); this.dbDefaultValue.setFalse("0");
this.dbDefaultValue.setTrue("1"); this.dbDefaultValue.setTrue("1");
this.dbDefaultValue.setNow("CURRENT_TIMESTAMP"); this.dbDefaultValue.setNow("CURRENT_TIMESTAMP");
this.supportsResultSetConcurrencyModeUpdatable = false;
dbTypeMap.put(DbType.BIT, new DbPlatformType("int")); dbTypeMap.put(DbType.BIT, new DbPlatformType("int"));
dbTypeMap.put(DbType.BOOLEAN, new DbPlatformType("int")); dbTypeMap.put(DbType.BOOLEAN, new DbPlatformType("int"));