How to extract attributes and methods to MappedSuperclass | JPA Buddy

  Рет қаралды 344

JPA Buddy

JPA Buddy

Жыл бұрын

#jpa #hibernate #eclipselink #intellijidea #java #kotlin #jpabuddy
The "Extract to MappedSuperclass" feature has become even better! Now, with JPA Buddy, you can extract both attributes and methods into a MappedSuperclass. It's important to notice that the selected methods will be checked to see if they use any class fields. If you accidentally forget to extract a field used in a method, JPA Buddy will remind 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.
Download IntelliJ IDEA: jb.gg/5r06j0
Join us:
Website: jb.gg/website
Blog: jb.gg/blog
Twitter: / intellijidea
Facebook: / intellijidea
KZbin: / @intellijidea

Пікірлер: 2
@Muescha
@Muescha Жыл бұрын
I had hoped for a JPA helper method that would offer a convenient way to refactor the Pet class by attaching a superclass to it. It would be great if in the "Extract Superclass" dialog would it possible that I could select multiple entities and the helper method would suggest superclass members based on the selected entities.
@JPABuddy
@JPABuddy Жыл бұрын
Hey, Muescha! Great minds think alike ;) We also thought about it and we have tickets for improving the existing functionality: 1) issues.jpa-buddy.com/issue/JPAB-2468 2) issues.jpa-buddy.com/issue/JPAB-1689 So, we will try to implement them in one of the upcoming releases 🙂
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Keyboard Shortcuts in the Code IDE | Paradime.io
0:50
Paradime
Рет қаралды 23
5 Tips To Write Efficient Queries With JPA And Hibernate
13:07
Thorben Janssen
Рет қаралды 10 М.