We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity bean with @Cache with naturalKey
@Cache
naturalKey
@Cache(nearCache = true, naturalKey = {"app", "key"}) @Entity @Table(name = "app_metric") public class DMetric extends BaseDomain {
Query with `findMap()' that ought to use the natural key cache
return new QDMetric() .app.eq(header.getApp()) .key.in(keys) .key.asMapKey() .setUseCache(true) .findMap();
If the above query was findList() it hits the natural key cache but findMap() does not.
findList()
findMap()
The text was updated successfully, but these errors were encountered:
#1876 - findMap() does not use/hit natural key cache
5f8690f
rbygrave
No branches or pull requests
Steps to reproduce
Entity bean with
@Cache
withnaturalKey
Query with `findMap()' that ought to use the natural key cache
If the above query was
findList()
it hits the natural key cache butfindMap()
does not.The text was updated successfully, but these errors were encountered: