Best practices and common pitfalls of using Lombok with JPA | JPA Buddy

preview_player
Показать описание
#jpa #hibernate #eclipselink #intellijidea #java #jpabuddy #lombok

Whether you're a seasoned Java developer or just getting started with JPA, this guide has insights and advice to make using Lombok with JPA smoother. You'll learn valuable tips to simplify your development process and ways to avoid common pitfalls.

00:00 – Introduction
00:29 – Lombok support from JPA Buddy
01:45 – Problems with @EqualsAndHashCode
05:29 – Issues with @ToString
08:05 – Pitfalls related to @Data
08:40 – Proper way to use @Builder
09:35 – Conclusion
10:02 – Thank you!

JPA Buddy is an IntelliJ IDEA plugin that helps developers work efficiently with Hibernate, EclipseLink, Spring Data JPA, Flyway, Liquibase, Lombok, MapStruct, and other related technologies in both Java and Kotlin.

The plugin is intended to:
– Lower barrier to entry into development with JPA
– Boost developer’s productivity
– Make sure your code follows best practices

JPA Buddy delivers:
– Intuitive wizards to work with JPA
– Automatic database versioning changelog generation
– Smart inspections to make the code better
– JPA Entities generation based on tables (reverse engineering)
– Visual DTO designer and mapper code generator

You can use JPA Buddy in any project with Spring Boot, Jakarta Enterprise Edition, Quarkus, Micronaut, or even without any framework.

Join us:
Рекомендации по теме
Комментарии
Автор

I didnt know about to string exclude and I’ve been thinking about when i needed but I always forgot search it

marcojimenez
Автор

JPA is such a crutch. All that dark magic with proxies, lazy loading, updating with mutations. It's crazy...

ogyct