diff --git a/org.adempiere.base/src/org/compiere/model/MSequence.java b/org.adempiere.base/src/org/compiere/model/MSequence.java index 6815b5c133..83a943be41 100644 --- a/org.adempiere.base/src/org/compiere/model/MSequence.java +++ b/org.adempiere.base/src/org/compiere/model/MSequence.java @@ -1053,7 +1053,7 @@ public class MSequence extends X_AD_Sequence next_id = 1000000; } - if(CConnection.get().getDatabase().createSequence(TableName+"_SEQ", 1, 0 , 99999999, next_id, trxName)) + if(CConnection.get().getDatabase().createSequence(TableName+"_SQ", 1, 0 , 99999999, next_id, trxName)) return true; return false; diff --git a/org.adempiere.base/src/org/compiere/util/DB.java b/org.adempiere.base/src/org/compiere/util/DB.java index 2b978ff7fc..90913e1fcd 100644 --- a/org.adempiere.base/src/org/compiere/util/DB.java +++ b/org.adempiere.base/src/org/compiere/util/DB.java @@ -1866,7 +1866,7 @@ public final class DB if(SYSTEM_NATIVE_SEQUENCE && !adempiereSys) { - int m_sequence_id = CConnection.get().getDatabase().getNextID(TableName+"_SEQ"); + int m_sequence_id = CConnection.get().getDatabase().getNextID(TableName+"_SQ"); return m_sequence_id; }