wiki
  • My Knowledge Wiki
  • Microservices
  • Domain-driven design (DDD) learning resources
  • Go Programming Language
  • Kotlin Programming Language
  • Java Programming Language
  • Hibernate
  • Reactive Programming
  • Kubernetes
  • Apache Kafka
  • Apache Beam
  • Google Cloud
  • Serverless
  • Janusgraph
  • Event Sourcing & CQRS
  • Performance Engineering
  • Site Reliability Engineering
  • Software Security
  • Scalability
  • Software Craftsmanship
  • Books and Papers
  • Conference and meetup videos
Powered by GitBook
On this page

Was this helpful?

Hibernate

PreviousJava Programming LanguageNextReactive Programming

Last updated 4 years ago

Was this helpful?

JPA beyond copy paste by Jakub Kubrynski - this is video might be a little bit outdated but still contains a lot of useful tips, the content of this video is described here:

Vlad Mihalcea is Java Champion and author of probably the best book about Hibernate. His blog and tutorials are great.

N+1 problem

List vs Bag vs Set

equals & hashcode and UUID usage

Performance tips

Optimistic locking

Common pitfalls

JPA 2.2 Streaming (fancy stuff)

https://youtu.be/EZwpOLCfuq4
https://www.youtube.com/watch?v=EZwpOLCfuq4&lc=Ugxp9JpfgF9Hv5nfGyl4AaABAg
https://speakerdeck.com/jkubrynski/jpa-beyond-copy-paste
https://vladmihalcea.com/books/high-performance-java-persistence/
https://vladmihalcea.com/tutorials/hibernate/
https://www.youtube.com/channel/UCYeDPubBiFCZXIOgGYoyADw/playlists
https://www.javacodemonk.com/what-is-n-1-problem-in-hibernate-how-will-you-identify-and-solve-it-894097b9
https://vladmihalcea.com/how-to-detect-the-n-plus-one-query-problem-during-testing/
https://dziadeusz.github.io/prevent-n+1-from-creeping-in/
https://vladmihalcea.com/hibernate-facts-favoring-sets-vs-bags/
https://thoughts-on-java.org/ultimate-guide-to-implementing-equals-and-hashcode-with-hibernate/
https://stackoverflow.com/questions/5031614/the-jpa-hashcode-equals-dilemma
https://vladmihalcea.com/hibernate-and-uuid-identifiers/
https://vladmihalcea.com/14-high-performance-java-persistence-tips/
https://www.slideshare.net/VladMihalcea/jpa-and-hibernate-performance-tips
https://www.youtube.com/watch?v=BTdTEe9QL5k
https://vladmihalcea.com/optimistic-locking-version-property-jpa-hibernate/
https://vladmihalcea.com/a-beginners-guide-to-database-locking-and-the-lost-update-phenomena/
https://codete.com/blog/jpa-8-common-pitfalls/
https://codete.com/blog/5-common-spring-transactional-pitfalls/
https://vladmihalcea.com/whats-new-in-jpa-2-2-stream-the-result-of-a-query-execution/