This commit is contained in:
parent
0876a73879
commit
c0eb0c637e
|
@ -107,8 +107,7 @@ public class MSequence extends X_AD_Sequence
|
||||||
selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, AD_Sequence_ID "
|
selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, AD_Sequence_ID "
|
||||||
+ "FROM AD_Sequence "
|
+ "FROM AD_Sequence "
|
||||||
+ "WHERE Name=?"
|
+ "WHERE Name=?"
|
||||||
+ " AND IsActive='Y' AND IsTableID='Y' AND IsAutoSequence='Y' "
|
+ " AND IsActive='Y' AND IsTableID='Y' AND IsAutoSequence='Y' ";
|
||||||
+ "FOR UPDATE"; // jz derby needs expicitly said it//OF CurrentNext, CurrentNextSys";
|
|
||||||
|
|
||||||
USE_PROCEDURE = true;
|
USE_PROCEDURE = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue