filmov
tv
Using Spring Jdbc template to connect to in-memory database

Показать описание
#spring #java #hacks
Using Spring Jdbc template to connect to in-memory database.
In this video, we are going to see how to use Spring Jdbc template to connect to an in-memory database and extract all the records. Here we make use of dependencies like jdbc, jpa, h2 and web from spring initializr. We are going to create a table named Employee and populate the table during the starting of the application. Our ultimate aim is to execute Select * statement using Spring Jdbc template and extract all records. This is a very preliminary and basic example and will be useful for those who are beginning with spring jdbc.
Let us begin with this exercise.
Using Spring Jdbc template to connect to in-memory database.
In this video, we are going to see how to use Spring Jdbc template to connect to an in-memory database and extract all the records. Here we make use of dependencies like jdbc, jpa, h2 and web from spring initializr. We are going to create a table named Employee and populate the table during the starting of the application. Our ultimate aim is to execute Select * statement using Spring Jdbc template and extract all records. This is a very preliminary and basic example and will be useful for those who are beginning with spring jdbc.
Let us begin with this exercise.