#JPA

Описание к видео #JPA

Today I will talk about 5 common Hibernate mistakes that cause dozens of unexpected #queries and horrible headaches for most developers.

If there is one thing that’s often criticized about JPA and Hibernate, it’s that it sometimes executes more queries than you expected. And I’m not talking about 1 or 2 additional queries. I’m talking about dozens or even hundreds of them. The worst thing about it is that you don’t recognize that problem if you don’t configure your logging correctly or activate Hibernate’s statistics component.
But while this is a problem that often occurs with JPA and Hibernate, you shouldn’t solely blame the framework for it. In most situations, these queries are caused by small mistakes which you could have easily prevented. So, it’s up to you and me, the developer, to avoid these mistakes and use #JPA and #Hibernate efficiently.
Let me show you the 5 most common mistakes that cause Hibernate to execute dozens or even hundreds of queries and how you can avoid them.
But before we proceed, please subscribe and hit the bell icon to stay up to date on Hibernate and JPA.

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://www.thoughts-on-java.org/5-co...

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

Комментарии

Информация по комментариям в разработке