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
In questa pagina del sito puoi guardare il video online Java Spring Boot - JPA - Hibernate - H2 - Database Initialization using data.sql and schema.sql della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeForgeYT 14 luglio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 28,026 volte e gli è piaciuto 274 spettatori. Buona visione!