mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
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:
1 parent
fa6fdf124d
commit
afdb1df7ce
4 files changed
+20
-34
No files matched your search
+16
@@ -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
|
||||
|
||||
Reference in new issue
Block a user