A nice little feature for handling queries with IN-lists, if you are using JPA. There are other and maybe better ways to solve this, but the solution described in the this blog could be worth a look into:
How to improve statement caching efficiency with IN clause parameter padding
Post a Comment