Hibernate Tip: Control cache invalidation for native queries

Опубликовано: 28 Сентябрь 2024
на канале: Thorben Janssen
3,067
60

Get more recipes like this one in my new book Hibernate Tips: More than 70 solutions to common Hibernate problems: https://goo.gl/XfywNk

In this hibernate tip video, I will show you How you can control cache invalidation for native queries

Some native queries invalidate the 2nd level cache. But no, if you do it correctly, it doesn’t have any negative performance impacts, and it doesn’t change my recommendation to use them.

If you like this video, please give me your thumbs up and share it with your friends and co-workers.

Like my channel? Subscribe!
➜ http://bit.ly/2cUsid8

Join the free Member Library:
https://goo.gl/dtyIIC

Read the accompanying post: https://thoughts-on-java.org/hibernat...

Want to connect with me?
Blog: http://www.thoughts-on-java.org/
Twitter:   / thjanssen123  
Facebook:   / thoughtsonjava  
Instagram:   / thoughtsonjava  

#hibernatetips #NativeQueries #CacheInvalidation