mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Merge pull request #2524 from FOCONIS/db2/nocompressedid
DB2 does not support ids in compressed form
This commit is contained in:
1 file changed
+1
-1
@@ -27,7 +27,7 @@ public abstract class BaseDB2Platform extends DatabasePlatform {
|
|||||||
|
|
||||||
this.dbIdentity.setSupportsGetGeneratedKeys(true);
|
this.dbIdentity.setSupportsGetGeneratedKeys(true);
|
||||||
this.dbIdentity.setSupportsSequence(true);
|
this.dbIdentity.setSupportsSequence(true);
|
||||||
|
this.idInExpandedForm = true; // Db2 does not support (a,b) in ((?,?),(?,?))
|
||||||
this.exceptionTranslator =
|
this.exceptionTranslator =
|
||||||
new SqlErrorCodes()
|
new SqlErrorCodes()
|
||||||
.addAcquireLock("40001","57033") // key -911/-913
|
.addAcquireLock("40001","57033") // key -911/-913
|
||||||
|
|||||||
Reference in new issue
Block a user