Java PostgreSQL Connection JDBC windows

preview_player
Показать описание
Java and PostgreSQL connection JDBC

CODE can be found on this link:
Source : Tutorialspoint

Download JAR file
from postgresql-jdbc repository
The latest one.

.getConnection
("jdbc:postgresql://localhost:5432
/dbname","postgres", "password");

Add the jar file in library

Click on services

Database -- New Connection
Driver PostgreSQL

Enter Password

Click Test Connection If connection then
everyting is setuped properly

Add the code. Done!
Рекомендации по теме
Комментарии
Автор

that link you gave was everything i needed for my homework thank youuu

aaronbarragan
Автор

Thank you! This video helped me a lot!

ВасильГудима-шм
Автор

Please edit the video too bro. netbeans loading the project etc everything you are showing.

chanchalsinghal