This commit is contained in:
parent
62a8e4efaa
commit
4b6f146344
|
@ -288,7 +288,12 @@ public class ADLookup {
|
|||
log.log(Level.SEVERE, m_columnName + " (TableDir) - no standard/identifier columns");
|
||||
return "";
|
||||
}
|
||||
|
||||
//
|
||||
// Enclose "OR'd" identifier lookup clause to not boolean corrupt additionally appended "AND" clauses
|
||||
sql.insert(0,"(");
|
||||
sql.append(") ");
|
||||
|
||||
StringBuffer retValue = new StringBuffer ("SELECT ")
|
||||
.append(m_columnName).append(" FROM ").append(m_tableName)
|
||||
.append(" WHERE ").append(sql)
|
||||
|
|
Loading…
Reference in New Issue