Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Java PostgreSQL Client

Small Java/Maven project developed for Programacao II. It demonstrates a JDBC connection to PostgreSQL and reads customer records from a database table.

Tech Stack

  • Java 21
  • Maven
  • PostgreSQL
  • JDBC

Configuration

Set the database connection through environment variables:

export PROGRAMACAO2_DB_URL="jdbc:postgresql://<host>:5432/postgres?sslmode=require"
export PROGRAMACAO2_DB_USER="<user>"
export PROGRAMACAO2_DB_PASSWORD="<password>"

Build

mvn -DskipTests package

Run

Run the org.example.Main class from an IDE or Maven-compatible Java runner after configuring the environment variables.

About

Small Java/Maven JDBC project for reading PostgreSQL customer data.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages