Spring Boot Connect to PostgreSQL Database Example

preview_player
Показать описание
Learn how to write Java code that connects to PostgreSQL Database Server in a Spring Boot application with:
- JdbcTemplate for connecting and execute a SQL Insert statement.
- Spring Data JPA & Hibernate framework for connecting and retrieving data from database.

You will also learn how to configure data source properties (JDBC url for PostgreSQL, username, password) and additional properties (show SQL, print SQL and database dialect - to be used with Hibernate).

Software programs:
- Java Development Kit (JDK)
- Spring Tool Suite IDE (STS)
- PostgreSQL Server & PgAdmin

#springboot #postgresql #java #jdbc #database #springframework #springdata
Рекомендации по теме
Комментарии
Автор

Đang lọ mọ cài PostgreSQL để connect với Java thì thấy PG recommend video của anh về các Exam kết nối với PG, cá nhân em là người Việt Nam em rất tự hào về anh và em tin rằng các coder ở Việt Nam cũng vậy, được thấy đồng bào của mình góp mặt trong các công nghệ lớn hay nền tảng có nhiều người sử dụng thì đó là tín hiệu đáng mừng của ngành CNTT Việt Nam, chúc anh thật nhiều sức khoẻ.

suminh
Автор

best JAVA examples on the web. I have to give you the credit!

jacksevensea
Автор

@13:07 for connecting using spring data jpa

bittooaggarwal
Автор

This is a good explanation. Thank you, very helpful.

DarrelDavis
Автор

Hi Nam ha minh..
I am following you step carefully but I m getting Failed to execute CommandLineRunner.

Plz help to me to fix this exception

roshanjadhav
Автор

When i open pgAdmin 4 its opening like Windows App not in browser, how to fix it?

shubhamswaraj
Автор

please do more spring boot with postgre videos ! i have so many questions i cant find answer to. like deleting raws editing raws. updating photos etc

ashitanomuza
Автор

good explanation, but I made a database and put the same name of it in my project but it says my db does not exist. Can anyone help

danielbartolini
Автор

hi saw your video
very useful
And actually I'm facing a issue while I was working on javafx project
It's showing "Error: Could not find or load main class javafx.fxml Caused by: javafx.fxml" when I run the main.java
please help me

bhargavdeep
Автор

thanks for the video . but, lets say if we have more than one schemas in the db !! so its a very good practice if we have the schemas name in each table ..

besooab
Автор

I am getting column not found error please help me

vishwanathkustagi
Автор

why i want to use command line runner?

ponbalaji
Автор

well done tutorial. thanks for putting it together. you do a great ob at explaining the basic important concepts. thanks you.

danielcaceres
visit shbcf.ru