Spring Boot Tutorial 11: Creating JPA Entities (@Entity) or Models

Published: 07 April 2021
on channel: PithorAcademy
327
8

This is the 11th video in the series of spring boot tutorials. Database plays an important role while working on any application and we need some way to connect the database tables to our application.

For connecting a database table with a class we use JPA, which provides us a way to configure the rules for the table and object mapping which is ORM (Object-Relational Mapping).

In this video, we'll create a class that will be connected with the database table. For that we'll cover some annotation which are:
1. @Entity
2. @Table
3. @Id
4. @GeneratedValue
5. @Column

Topics Covered:
#Entity, #Table, #JPA, #Mysql, #SpringBoot #Column #GeneratedValue, #Id, #model #springboottutorial

Source Code (Github): https://github.com/Pithoracademy/Utube

For Spring boot concepts visit:

What & Why Spring boot:    • What is Spring Boot and Why we use it?  
Dependency Injection & IOC Container:    • The Power of Dependency Injection and...  
Aspect-Oriented Programming (AOP):    • Aspect-Oriented Programming (AOP): Si...  
Generate Spring Project:    • Spring Boot Made Simple: Generating P...  
Project Architecture:    • Understanding What We're Developing a...  
Auto generated Code & pom.xml:    • Unpacking the Magic: Understanding Pr...  
RestController & Endpoint:    • Exploring @RestController: Creating R...  

Complete Courses:

Spring Boot Tutorials:    • Course Intro: Rest API with Spring bo...  
Rest API Concepts:    • Course Intro: What is Rest API or Res...