diff --git a/base/src/org/compiere/dbPort/Convert_PostgreSQL.java b/base/src/org/compiere/dbPort/Convert_PostgreSQL.java index 2b9915abec..a7dbf4b53c 100644 --- a/base/src/org/compiere/dbPort/Convert_PostgreSQL.java +++ b/base/src/org/compiere/dbPort/Convert_PostgreSQL.java @@ -86,7 +86,7 @@ public class Convert_PostgreSQL extends Convert_SQL92 { found_next_fuction = sqlStatement.toUpperCase().indexOf("NEXTID("); if(found_next_fuction > 0) { - boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false,Env.getAD_Client_ID(Env.getCtx())); + boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false); boolean adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS); if(SYSTEM_NATIVE_SEQUENCE && !adempiereSys) diff --git a/base/src/org/compiere/model/MSequence.java b/base/src/org/compiere/model/MSequence.java index 2e03e922da..6dc32ab663 100644 --- a/base/src/org/compiere/model/MSequence.java +++ b/base/src/org/compiere/model/MSequence.java @@ -938,7 +938,7 @@ public class MSequence extends X_AD_Sequence */ public static boolean createTableSequence (Properties ctx, String TableName, String trxName) { - boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false,Env.getAD_Client_ID(Env.getCtx())); + boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false); if(SYSTEM_NATIVE_SEQUENCE) { diff --git a/base/src/org/compiere/util/DB.java b/base/src/org/compiere/util/DB.java index 1fabac6948..997c7cca4b 100644 --- a/base/src/org/compiere/util/DB.java +++ b/base/src/org/compiere/util/DB.java @@ -1533,7 +1533,7 @@ public final class DB */ public static int getNextID (int AD_Client_ID, String TableName, String trxName) { - boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false,AD_Client_ID); + boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false); boolean adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS); if(SYSTEM_NATIVE_SEQUENCE && !adempiereSys) diff --git a/base/src/org/eevolution/process/EnableNativeSequence.java b/base/src/org/eevolution/process/EnableNativeSequence.java index e1daab5daf..f217e81ef7 100644 --- a/base/src/org/eevolution/process/EnableNativeSequence.java +++ b/base/src/org/eevolution/process/EnableNativeSequence.java @@ -50,7 +50,7 @@ public class EnableNativeSequence extends SvrProcess protected String doIt() { - boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false,Env.getAD_Client_ID(Env.getCtx())); + boolean SYSTEM_NATIVE_SEQUENCE = MSysConfig.getBooleanValue("SYSTEM_NATIVE_SEQUENCE",false); if(SYSTEM_NATIVE_SEQUENCE) throw new AdempiereException("Native Sequence is Actived");