Hibernate: Common Exceptions Every Developer Must Know
Every framework has a set of exceptions that indicate common error scenarios. Understanding them will help you turn a task that could drag along for days into a quickly-implemented feature. When working with Hibernate, they tell you about issues with your database queries, mapping mistakes, and problems during write operations.
In this video, I want to show you Hibernate’s most common exceptions and how you can avoid or fix them.
0:00 Introduction
0:27 Query-Related Exceptions
4:59 Mapping-Related Exceptions
6:18 Update-Related Exceptions
8:29 Conclusion
Links mentioned:
JPQL – How to Define Queries in JPA and Hibernate
https://thorben-janssen.com/jpql/
Your 2 best options to fix Hibernate’s MultipleBagFetchException
https://thorben-janssen.com/fix-multiplebagfetchexception-hibernate/
LazyInitializationException – What it is and the best way to fix it
https://thorben-janssen.com/lazyinitializationexception/
Like my channel? Subscribe!
➜ http://bit.ly/2cUsid8
Join the free Member Library:
https://goo.gl/dtyIIC
Read the accompanying post: https://thorben-janssen.com/hibernate-exceptions/
Want to connect with me?
Blog: https://thorben-janssen.com/
Twitter: https://twitter.com/thjanssen123
Facebook: https://www.facebook.com/thoughtsonjava
#Hibernate #Exceptions
Видео Hibernate: Common Exceptions Every Developer Must Know канала Thorben Janssen
In this video, I want to show you Hibernate’s most common exceptions and how you can avoid or fix them.
0:00 Introduction
0:27 Query-Related Exceptions
4:59 Mapping-Related Exceptions
6:18 Update-Related Exceptions
8:29 Conclusion
Links mentioned:
JPQL – How to Define Queries in JPA and Hibernate
https://thorben-janssen.com/jpql/
Your 2 best options to fix Hibernate’s MultipleBagFetchException
https://thorben-janssen.com/fix-multiplebagfetchexception-hibernate/
LazyInitializationException – What it is and the best way to fix it
https://thorben-janssen.com/lazyinitializationexception/
Like my channel? Subscribe!
➜ http://bit.ly/2cUsid8
Join the free Member Library:
https://goo.gl/dtyIIC
Read the accompanying post: https://thorben-janssen.com/hibernate-exceptions/
Want to connect with me?
Blog: https://thorben-janssen.com/
Twitter: https://twitter.com/thjanssen123
Facebook: https://www.facebook.com/thoughtsonjava
#Hibernate #Exceptions
Видео Hibernate: Common Exceptions Every Developer Must Know канала Thorben Janssen
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Coffee with Thorben](https://i.ytimg.com/vi/d02pPmBG3yo/default.jpg)
![Hibernate Envers: Extend the standard revision](https://i.ytimg.com/vi/OQDXzJmGla4/default.jpg)
![Coffee with Thorben - Natural vs Surrogate Primary Keys](https://i.ytimg.com/vi/-nJgHYniXkY/default.jpg)
![JPA: Migrating from JPA 2.x to 3.0](https://i.ytimg.com/vi/11mB8NM8g8c/default.jpg)
![Hibernate Tip: How to Share the Primary Key in a One-to-One Association](https://i.ytimg.com/vi/t9jdfQqmTVU/default.jpg)
![JPA 2.2 - Introducing @Repeatable Annotations](https://i.ytimg.com/vi/zFghAtPii6M/default.jpg)
![Book Update Week 7 – Lots of reviews and a title](https://i.ytimg.com/vi/KwNEayZZH8c/default.jpg)
![Coffee with Thorben - JPQL / Criteria / Native Queries? What's the difference?](https://i.ytimg.com/vi/oA8_fqSp1OY/default.jpg)
![Book Update Week 6 – First draft finally done](https://i.ytimg.com/vi/gSUoDYtm_RA/default.jpg)
![How to call native SQL queries with JPA and Hibernate](https://i.ytimg.com/vi/5qyZlAfSUUs/default.jpg)
![Hibernate Tip: The best way to work with scalar projections](https://i.ytimg.com/vi/g34V7V6Ic_c/default.jpg)
![Book Update Week 2 - Asciidoctor and more Tips](https://i.ytimg.com/vi/TRdA3BE4hEY/default.jpg)
![Hibernate Tip: How to filter entities from a mapped association?](https://i.ytimg.com/vi/n-UYDhdUO64/default.jpg)
![Hibernate: How to Generate Values of Basic Entity Attributes](https://i.ytimg.com/vi/gkh1oojif60/default.jpg)
![Hibernate Tip: Validate that only 1 of 2 associations is not null](https://i.ytimg.com/vi/VYkje7ng_ac/default.jpg)
![Quarkus & Hibernate – Getting Started Guide](https://i.ytimg.com/vi/hPikIWn71Lk/default.jpg)
![Spring Data JPA – Detecting Your Entity’s State](https://i.ytimg.com/vi/GOdh_6pAyYE/default.jpg)
![Red Hat Webinar: Hibernate in complex projects - Can we be a little faster?](https://i.ytimg.com/vi/XSpCmWK0BXw/default.jpg)
![Panache: Repository Pattern](https://i.ytimg.com/vi/zCg9Vl4M_G4/default.jpg)
![Hibernate: Ordering vs Sorting – What should you use?](https://i.ytimg.com/vi/Xm5Ax9D7kyk/default.jpg)
![I'm writing my first book](https://i.ytimg.com/vi/CHrOUIDmvSw/default.jpg)