Skip to content
New issue

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

Add API to make queries cachable #13

Open
mojo2012 opened this issue Oct 6, 2018 · 0 comments
Open

Add API to make queries cachable #13

mojo2012 opened this issue Oct 6, 2018 · 0 comments
Assignees

Comments

@mojo2012
Copy link
Member

mojo2012 commented Oct 6, 2018

Code hint:

entityManager.createQuery("select f from Foo f")
  .setHint("org.hibernate.cacheable", true)
  .getResultList();
@mojo2012 mojo2012 self-assigned this Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant