In this video we will learn how to initialize database using Java Spring Boot mechanism. We will use schema.sql file for DDL scripts and also data.sql for DML scripts. Using those files we will create database table and insert initial data. Later on we will also learn how to configure custom paths for those files, so they will be visible on classpath. Later on we will also create example entity together with CRUD repository to check out if we will be able to persist our objects into the database. We will use H2 Database and we will track everything web console. Everything exaplained step by step. Enjoy coding!
Subscribe now for more videos: / @codeforgeyt
Follow //CodefForgeYT on:
FB: / codeforgeyt
Twitter: / codeforgeyt
GitHub: https://github.com/codeforgeyt
Instagram: / codeforgeyt
On this page of the site you can watch the video online Java Spring Boot - JPA - Hibernate - H2 - Database Initialization using data.sql and schema.sql with a duration of hours minute second in good quality, which was uploaded by the user CodeForgeYT 14 July 2020, share the link with friends and acquaintances, this video has already been watched 28,026 times on youtube and it was liked by 274 viewers. Enjoy your viewing!