IDEMPIERE-422 Complete Native Sequence feature / part 1

This commit is contained in:
Carlos Ruiz 2012-09-06 00:04:03 -05:00
parent 8b1c89c1a7
commit 0b6efd26d4
2 changed files with 2 additions and 2 deletions

View File

@ -1053,7 +1053,7 @@ public class MSequence extends X_AD_Sequence
next_id = 1000000; 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 true;
return false; return false;

View File

@ -1866,7 +1866,7 @@ public final class DB
if(SYSTEM_NATIVE_SEQUENCE && !adempiereSys) 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; return m_sequence_id;
} }