Загрузка страницы

Java Records: How to use them with Hibernate and JPA

A lot of developers complain that Java is too verbose. And I can understand that, especially for all classes that are supposed to be a basic data structure, like entities or DTOs. So, it was no surprise that I got a lot of questions about JDK’s records feature and how you can use it with Hibernate.
In this video, I will show you, how you can use Java records with Hibernate and JPA even though you can’t use them as entities.

Let me immediately answer the 2 most common questions before we get into the details:
Yes, Java records are a great fit for your persistence layer.

But no, you can’t implement an entity using a record.
That’s because of a few important differences between the implementation of a Java record and the requirements of an entity, which I will explain in this video

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/java-records-hibernate-jpa/

Want to connect with me?
➜Blog: https://thorben-janssen.com/
➜Twitter: https://twitter.com/thjanssen123
➜Facebook: https://www.facebook.com/thoughtsonjava

#Java #Records #Hibernate

Видео Java Records: How to use them with Hibernate and JPA канала Thorben Janssen
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
13 августа 2020 г. 17:00:00
00:07:40
Яндекс.Метрика