Skip to content
Snippets Groups Projects
Commit d76db5b9 authored by kfilippopolitis's avatar kfilippopolitis
Browse files

Updated database calls to be case insensitive.

parent 1b554301
No related branches found
No related tags found
1 merge request!19Feat/186 experiment refactor
......@@ -27,7 +27,7 @@ public class ExperimentSpecifications {
regExp = (name.contains("%") ? name : name + "%");
}
return cb.like(root.get("name"), this.regExp);
return cb.like(cb.lower(root.get("name")), this.regExp.toLowerCase());
}
}
......@@ -44,7 +44,7 @@ public class ExperimentSpecifications {
return cb.isTrue(cb.literal(true));
}
return cb.equal(root.get("algorithm"), this.algorithm);
return cb.equal(cb.lower(root.get("algorithm")), this.algorithm.toLowerCase());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment