mirror of https://github.com/apache/openjpa.git
OPENJPA-1067. Do not call setQueryTimeout for DB2 on Z/OS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8575b6c79e
commit
09a77eeae3
|
@ -306,6 +306,7 @@ public class DB2Dictionary
|
|||
break;
|
||||
case db2ZOSV8xOrLater:
|
||||
// DB2 Z/OS
|
||||
supportsQueryTimeout = false; // can only be set to 0 on z/OS
|
||||
characterColumnSize = 255;
|
||||
lastGeneratedKeyQuery = "SELECT IDENTITY_VAL_LOCAL() FROM "
|
||||
+ "SYSIBM.SYSDUMMY1";
|
||||
|
@ -410,7 +411,6 @@ public class DB2Dictionary
|
|||
return (databaseProductVersion.indexOf("DSN") != -1
|
||||
|| databaseProductName.indexOf("DB2/") == -1)
|
||||
&& maj >= 8;
|
||||
|
||||
}
|
||||
|
||||
public boolean isDB2ISeriesV5R3OrEarlier() {
|
||||
|
|
Loading…
Reference in New Issue