Converting spring boot H2-in-memory database configuration to MySQL database - Session 21

Опубликовано: 30 Сентябрь 2024
на канале: ITGARDEN
2,514
25

Click the below link to download the latest Billing System Source code.
https://pinepad.in/downloads/
More information about the Billing System Project. Watch this video
   • Billing System using Spring Boot - Bi...  

This video explains how to convert the H2 in-memory database to the MySQL database. so far, I have shown all JPA-based demo using the H2 In-Memory Database. In this video, I have converted the H2 In-Memory DB configuration to MySQL configuration. In order to configure the MySQL DB, we need to add the following Artifact in our pom.xml file.
mysql-connector-java
After adding this artifact, spring boot ready to auto-configuring your DB connection by providing the following configuration in your properties file or yml file.
spring:
datasource:
url: jdbc:mysql://localhost:3307/billingdb
driverClassName: com.mysql.cj.jdbc.Driver
username: suresh
password: suresh123$$
jpa:
show-sql: true
hibernate:
ddl-auto: update
Watch this full video for a complete demo and better understanding.

Previous video link
Richardson Maturity Model 4 levels of Restful endpoint. Useful to know about this 4 your interview
   • Richardson Maturity Model  4 levels o...  

You can pull this video code from the following location:
https://github.com/sureshstalin/itgar...

Hygiene Sanitary napkin: Please watch this 3 minutes video
   • PinePad Hygiene Sanitary napkin featu...  

I am developing a Billing System using Spring Boot. Already there are many many topics I have posted related to Billing System Project. Please subscribe to this channel to get all new updates about the Billing System and the first version of the Billing System Java code is absolutely free. It is available to download from here https://pinepad.in/downloads/ In the First version of the Billing System, I have implemented all kinds of Technical topics. Technical topics nothing but, integrating Spring boot logging framework, Spring Boot validation framework, and many more. Please follow the Billing System which I developing, it is very useful who wanted to get real-time project experience in Spring Boot. you can easily crack the interviews. Even I am ready to explain the technical topics if you have any doubts about the Project. You can find my contact. You can find my contact @ www.pinepad.in. Also, I have given my LinkedIn, Instagram, and FB profile in my Channel homepage banner (   / @itgarden9753  )

I have posted all technical related topics on the following site. Please check it out
https://pinepad.in/blog/

If you want to only Billing-System-related Technical Topics, please go to the following link.
https://pinepad.in/category/java/bill...

Please follow me on   / suresh-stalin  . The reason I am asking is, if I post any Technical article or billing System-related Article you will be getting a notification.

Click the below link to download the latest Billing System code.
https://pinepad.in/downloads/

All Billing System-related videos update in the following post
https://pinepad.in/java/billing-syste...

#springbooth2inmemorydb #springbootmyqldb #springbootforbeginners