How to create DTO and MapStruct Mapper for JPA Entity along with Lombok annotations | JPA Buddy

Опубликовано: 26 Март 2026
на канале: JPA Buddy
1,778
15

#jpa #hibernate #eclipselink #intellijidea #java #kotlin #jpabuddy #lombok #mapstruct

Do you apply an entity's validation rules to DTOs? Exposing only a subset of attributes to DTO does not mean that we cannot use the same Hibernate validations and initializations. JPA Buddy carefully transfers all of them, including Lombok annotations.

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.

Download IntelliJ IDEA: https://jb.gg/5r06j0

Join us:
Website: https://jb.gg/website
Blog: https://jb.gg/blog
Twitter:   / intellijidea  
Facebook:   / intellijidea  
YouTube:    / @intellijidea