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");
|
log.log(Level.SEVERE, m_columnName + " (TableDir) - no standard/identifier columns");
|
||||||
return "";
|
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 ")
|
StringBuffer retValue = new StringBuffer ("SELECT ")
|
||||||
.append(m_columnName).append(" FROM ").append(m_tableName)
|
.append(m_columnName).append(" FROM ").append(m_tableName)
|
||||||
.append(" WHERE ").append(sql)
|
.append(" WHERE ").append(sql)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue