Testing nuodb 4.3.2, but it isn't supporting getGeneratedKeys for jdbc batch inserts

That breaks a lot of tests
This commit is contained in:
Rob Bygrave committed 2022-06-16 23:32:04 +12:00
1 parent fa6fdf124d
commit afdb1df7ce
4 files changed
+20 -34

No files matched your search

@@ -13,6 +13,22 @@ public class NuoDbDdl extends PlatformDdl {
this.dropConstraintIfExists = "drop constraint";
}
@Override
public String createSequence(String sequenceName, DdlIdentity identity) {
StringBuilder sb = new StringBuilder("create sequence ");
sb.append(quote(sequenceName));
int start = identity.getStart();
if (start > 0) {
sb.append(" ").append(sequenceStartWith).append(" ").append(start);
}
int cache = identity.getCache();
if (cache > 0) {
sb.append(" quantum size ").append(cache);
}
sb.append(";");
return sb.toString();
}
@Override
public void addTableComment(DdlBuffer apply, String tableName, String tableComment) {
// do nothing