Загрузка...

#25🏗️ Couche Entity – @Entity, @Id, @Column, @Table Explained 🗂️ | Part 2

🎬 #25🏗️ Entity Layer – @Entity, @Id, @Column, @Table Explained 🗂️ | Part 2

| MySQL Integration with XAMPP & Spring Data JPA

In this second part of our series on entities, we move on to the practical implementation of data persistence with Spring Data JPA, while connecting our application to a local MySQL database via XAMPP.

🚀 On the agenda:

✅ Configuring the application.properties file to establish the connection to MySQL
✅ Adding essential dependencies (spring-boot-starter-data-jpa, mysql-connector-j)
✅ Organizing the code according to a clear and maintainable layered architecture
✅ Introduction to JPA annotations: @Entity, @Id, and more

This video is part of the Spring Boot – 3IA Community 2025 training program, which focuses on practical application, clean architecture, and backend best practices.

📂 Source code: https://github.com/mohammedezzaim/Formation-Spring-Boot-3IA-Community-2025/tree/code/Architecture_en_Couche_2_entity

#application.properties:

# # Connection to MySQL database
spring.datasource.url=jdbc:mysql://localhost:3306/tia_community
spring.datasource.username=root
spring.datasource.password=

# # Port of Application
server.port=9091

# # MySQL Driver
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

# # JPA / Hibernate (production ready)
spring.jpa.hibernate.ddl-auto=create
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
📺 Watch the phpmyadmin video: https://youtu.be/5mXTvhwXmfo?si=uN6QWuUjYCIX6Buc

📞 Contact me:
📧 Email: mohammedezzaim00@gmail.com
💼 LinkedIn: https://www.linkedin.com/in/mohammed-ezzaim/
📂 GitHub: https://github.com/mohammedezzaim

🔖 Keywords & Hashtags:
#SpringBoot #Java #JPA #MySQL #Entity #XAMPP #Backend #CleanArchitecture #3IACommunity

Видео #25🏗️ Couche Entity – @Entity, @Id, @Column, @Table Explained 🗂️ | Part 2 канала 3IA Community
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять