mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
DB2 does not support ids in compressed form
This commit is contained in:
1 parent
1d11666945
commit
9f9184ac6a
1 file changed
+1
-1
@@ -26,7 +26,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