-
Type:
Feature Request
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: engine
AT:
- query users with the help of native queries so search in different columns as conjunction is possible
The usage could look like the following:
List<User> users = identityService.createNativeUserQuery() .sql("SELECT * FROM " + managementService.getTableName(User.class) + " U " + " WHERE U.FIRST_ LIKE #{search}" + " OR U.LAST_ LIKE #{search}" + " OR U.EMAIL_ LIKE #{search}" ) .parameter("search", "%searchStr%") .list();
Note: this only works with Database Identity Provider, not with LDAP