PostgreSQL
Relationships and Constraints
Normalization
Joins
JDBC
SQL Injection2
IoC & DI
Practice
Assignment
Back end Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Implementation plan:
- What is JDBC — Java Database Connectivity
- Adding the PostgreSQL JDBC driver dependency
- Establishing a connection:
DriverManager.getConnection(url, user, password)
- Creating statements:
Statement vs PreparedStatement
- Executing queries:
executeQuery (SELECT) and executeUpdate (INSERT/UPDATE/DELETE)
- Processing results with
ResultSet
- Closing resources (connection, statement, result set)
- Connection strings and configuration
- Exercise: query the PostgreSQL database from Java
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.