Getting the Most from JPA with Kotlin

preview_player
Показать описание
Let's talk about JPA with Kotlin! JPA is a popular approach for database access in JVM applications. Hibernate and EclipseLink are extremely popular, and Spring Data JPA remains the most used Spring Data implementation. In this session, we'll take a look at how to use JPA in Kotlin programs, learn about defining JPA entities, and explore how you can use Kotlin to simplify your work.

Categories: #kotlin #jpa #webinar

Speaker: Aleksey Stukalov
Aleksey is a Solutions Director at Haulmont, a technology geek, passionate about developer tooling. Since 2015 Aleksey leads the development of CUBA.platform (now jMix) framework that is used in numerous enterprise projects today.
Рекомендации по теме
Комментарии
Автор

A year ago I decided to try Kotlin and Spring Data JPA. How I wish this video was made avaliable sooner. Would have saved me hours of google time.

markoziza
Автор

Immensely useful information here. Thanks a lot guys!

theLoneCodesman
Автор

exelent video, i wasn't aware of those cases at all

rsobies
Автор

New to Kotlin. Slowly understanding Kotlin for server side 🙏🏽

Segun_OS
Автор

Instead of using a constant value for a hash code (which completely forfeits any performance advantage of HashSet and HashMap), you can use a UUID as an ID which is generated in the constructor, instead of a database-assigned ID. Also, this avoids the problem that all entities of the same class will be equal(...) to one another (!!) until they are saved to the database for the first time.

AlanDarkworld
Автор

Could you mention a case where an entity should be stored in a collection before persisting? Is it reasonable to prohibit non-persisted entities' usage in such cases?

errandir