1. Implement pagination for the user list
See CAM-5131
2. Validate MyBatis Query
- MyBatis caches executed sql fragments during the execution of a command
- the sql fragment to check the authorization is also cached but cannot be reused (because of existing if-constructs), so that for each performed authorization check MyBatis caches each executed sql fragment -> if during the execution of a command the authorization check is performed 4000 times, then MyBatis caches the authorization check sql fragment 4000 times
- MyBatis clears the cache when the command is committed (or closed)
=> After clearing the cache the cached sql fragments can be garbage collected.
See
CAM-5131=> After clearing the cache the cached sql fragments can be garbage collected.