How to use @ElementCollection in JPA Entity

preview_player
Показать описание
#jpa #hibernate #elementcollection #mapping

@ElementCollection provides a concise way to map a collection of Embeddable entities or basic types without declaring an intermediate entity with a single field. JPA Buddy allows creating such entity fields visually.

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:
Рекомендации по теме