Fix ADLookup.getDirectAccessSQL to convert UUID value to lower case

This commit is contained in:
Elaine Tan 2013-04-29 17:53:00 +08:00
parent f1231c0e63
commit bf2b40f8d8
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class ADLookup {
if (isUUID(text)) if (isUUID(text))
{ {
sql.append("SELECT ").append(m_keyColumnName).append(" FROM ").append(m_tableName) sql.append("SELECT ").append(m_keyColumnName).append(" FROM ").append(m_tableName)
.append(" WHERE ").append(m_tableName).append("_UU=").append(DB.TO_STRING(text)); .append(" WHERE ").append(m_tableName).append("_UU=").append(DB.TO_STRING(text.toLowerCase()));
} }
else if (m_columnName.equals("M_Product_ID")) else if (m_columnName.equals("M_Product_ID"))
{ {