From 2ee298efe307e63588318416ea0515f22d7d17be Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sat, 30 Dec 2006 04:43:53 +0000 Subject: [PATCH] * remove unnecessary use of oid --- dbPort/src/org/compiere/model/MSequence.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbPort/src/org/compiere/model/MSequence.java b/dbPort/src/org/compiere/model/MSequence.java index 5d6c6f1452..3d0e9444ac 100644 --- a/dbPort/src/org/compiere/model/MSequence.java +++ b/dbPort/src/org/compiere/model/MSequence.java @@ -61,7 +61,7 @@ public class MSequence extends X_AD_Sequence String selectSQL = null; if (DB.isPostgreSQL()) { - selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, AD_Sequence_ID, OID " + selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, AD_Sequence_ID " + "FROM AD_Sequence " + "WHERE Name=?" + " AND IsActive='Y' AND IsTableID='Y' AND IsAutoSequence='Y' " @@ -263,7 +263,7 @@ public class MSequence extends X_AD_Sequence String selectSQL = null; if (DB.isPostgreSQL()) { - selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, Prefix, Suffix, AD_Sequence_ID , OID " + selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, Prefix, Suffix, AD_Sequence_ID " + "FROM AD_Sequence " + "WHERE Name=?" + " AND AD_Client_ID IN (0,?)" @@ -442,7 +442,7 @@ public class MSequence extends X_AD_Sequence String selectSQL = null; if (DB.isPostgreSQL()) { - selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, Prefix, Suffix, AD_Client_ID, AD_Sequence_ID, OID " + selectSQL = "SELECT CurrentNext, CurrentNextSys, IncrementNo, Prefix, Suffix, AD_Client_ID, AD_Sequence_ID " + "FROM AD_Sequence " + "WHERE AD_Sequence_ID=?" + " AND IsActive='Y' AND IsTableID='N' AND IsAutoSequence='Y' "