I am using the 0.9.4rc-Version of juddi .
I call find_tModel with a name and no FindQualifiers. The search is case sensitive because in the
FindTModelByNameQuery the method appendWhere does not work like e.g. in FindService ByNameQuery
Here the code for the tModel
if ((qualifiers != null) && (qualifiers.exactNameMatch))
{
sql.append("AND M.NAME = ? ");
sql.addValue(name);
}
else
{
sql.append("AND M.NAME LIKE ? ");
sql.addValue(name.endsWith("%") ? name : name+"%");
}
And here for the service.
if (qualifiers == null) // default
{
sql.append("(UPPER(NAME) LIKE ?");
sql.addValue(text.endsWith("%") ? text.toUpperCase() : text.toUpperCase()+"%");
}
else if ((qualifiers.caseSensitiveMatch) && (qualifiers.exactNameMatch))
{
sql.append("(NAME = ?");
sql.addValue(text);
}
Could you fix this in the next version?
Thanks Uta
