Heng Sin Low 2009-05-20 05:04:02 +00:00
parent 0876a73879
commit c0eb0c637e
1 changed files with 1 additions and 2 deletions

View File

@ -107,8 +107,7 @@ public class MSequence extends X_AD_Sequence
selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, AD_Sequence_ID "
+ "FROM AD_Sequence "
+ "WHERE Name=?"
+ " AND IsActive='Y' AND IsTableID='Y' AND IsAutoSequence='Y' "
+ "FOR UPDATE"; // jz derby needs expicitly said it//OF CurrentNext, CurrentNextSys";
+ " AND IsActive='Y' AND IsTableID='Y' AND IsAutoSequence='Y' ";
USE_PROCEDURE = true;
}