https://github.com/amigoscode/jdbc
Working with Databases in Java using JDBC, Datasource, Connection Pool, Flyway and JDBC Template
https://github.com/amigoscode/jdbc
Last synced: 7 months ago
JSON representation
Working with Databases in Java using JDBC, Datasource, Connection Pool, Flyway and JDBC Template
- Host: GitHub
- URL: https://github.com/amigoscode/jdbc
- Owner: amigoscode
- Created: 2021-09-11T22:51:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T14:01:53.000Z (about 3 years ago)
- Last Synced: 2025-05-08T00:08:07.029Z (10 months ago)
- Language: Java
- Homepage: https://www.amigoscode.com/courses
- Size: 60.5 KB
- Stars: 107
- Watchers: 4
- Forks: 129
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Working with Databases in Java
- JDBC
- Datasource
- Connection Pool
- Flyway and JDBC Template
# Diagram

# How to get started
- switch to branch `git checkout start`
- watch YouTube video
# Exercise
- Add the ability to edit movies
- Add `actor` table and associate them with movies
You will need to create a new migration called: `V1__ActorTable.sql` and the following sql to create the actor table
```sql
CREATE TABLE actor
(
id bigserial primary key,
name TEXT NOT NULL,
movie bigint REFERENCES movie (id),
unique (name, movie)
);
```
# Join the community