Cache synchronization using @JavaOOQ & @PostgreSQL functions
@vlad_mihalcea shows you how you can use Change Data Capture to track how table records change over time & synchronize the application-level cache entries:
hubs.ly/Q01R8C-y0#PostGreSQL#JOOQ
⚙️ Adding a cache to your application is easy. Maintaining consistency with the database is hard.
💡 In this article, you are going to see how you can detect record changes and fetch the cache entry directly from the DB.
vladmihalcea.com/cache-synchron…
🤔 Have you ever wondered how to synchronize a cache with the DB that keeps on changing?
💡 In my latest article, I show you a solution that uses #jOOQ to call a #PostgreSQL function that provides us the aggregates to be updated in the cache.
vladmihalcea.com/cache-synchron…
With the Spring 6 release, Java 17 became the baseline framework version. The right time to start using Java Records as Data Transfer Objects (DTOs).
Reviewing:
1. Naive approach
2. TupleTransformers
3. The JPA query way
4. @Hypersistence utils
👉dzone.com/articles/how-t…
Architecture Pitfalls: Don’t use your ORM entities for everything
Being friendly to your database and embracing SQL can pay great dividends
Particularly targeted at JPA/Hibernate/Spring users, but patterns apply broadly
blackparrotlabs.io/post/architect…
The 2.6 version has arrived!
🚀 You have now support for N+1 query detection for both EAGER and LAZY association
🚀 Support for Hibernate 6
🚀 Support for @SQLServer sendStringParametersAsUnicode setting value detection
vladmihalcea.com/hypersistence-…
🔥Hot Deals for Developer this week🔥
1. Our own @vlad_mihalcea is offering a 50% discount on his classic eBook
- 7500+ copies sold,
- 4.7 ⭐️⭐️⭐️⭐️⭐️ rating
Use coupon - BOOK5YRSALE
Here is the link -
courses.vladmihalcea.com/p/high-perform…
The JPA & @Hibernate second-level cache
@vlad_mihalcea explains how the mechanism works and why this is very important when it comes to improving the performance of your data access layer. You don't have to worry that stale data will be served!
hubs.ly/H0Zjf160
50% off @vlad_mihalcea's book 'High-Performance Java Persistence'. If you need any arguments to justify buying it, I'll share mine:
- I need it for work!
- I could help others with my new knowledge!
- All those SO answers, I owe Vlad one!
- It's not only about JPA / has @JavaOOQ!
91 Followers 2K Following#💛❤️ "Exploring life one tweet at a time 🌍 | Lover of all things tech 📱 | Coffee addict ☕ | Embracing the journey 🚀 #LifeIsGood"
168 Followers 2K FollowingLogicalThinker ToSolutionsForLifeHurdles, Sadhguru replies are like pointers, ArdentSupporter to mankind, Critic to the views followed by herd. Rest is Evolving