#jpa #hibernate #intellijidea #java #jpabuddy #reverseengineereing #springdata #flyway #mapstruct #rest
In this video, we will use JPA Buddy and IntelliJ IDEA Ultimate to create a simple but fully working project management service. This service will store data about users’ assignments to projects and tasks and expose REST API for CRUD operations with projects.
0:00 – Overview of the JPA Buddy plugin
1:37 – The target application description and an existing database overview
3:02 – Using Spring Initializr to create a new Spring Boot application with required dependencies
4:36 – Installing the JPA Buddy plugin and setting up a connection to the existing database
5:59 – JPA entities generation from the existing database tables (reverse engineering)
7:14 – Making changes in the generated JPA entities with JPA Buddy
9:44 – Creating a Flyway versioned migration to initialize the database from scratch
11:14 – Generating the differential Flyway versioned migration by comparing JPA entities with the existing database
11:38 – Generating SQL inserts to fill in required data
12:13 – Creating REST Controller exposing CRUD operations
13:05 – Generating required DTOs and the corresponding MapStruct mapper
14:04 – Creating a Spring Data JPA repository
15:57 – Finishing REST controller
17:08 – Running the application
18:03 – Thank you!
JPA Buddy website – https://jpa-buddy.com
GitHub Repository – https://github.com/jpa-buddy/spring-b...
Setup:
IntelliJ IDEA 2022.3
JPA Buddy 2023.1
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
Watch video Spring Boot RESTful CRUD Application with IntelliJ IDEA and JPA Buddy online without registration, duration hours minute second in high quality. This video was added by user JPA Buddy 26 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,560 once and liked it 149 people.