https://github.com/aprendendo-programacao/spring-boot-jdbc-template
https://github.com/aprendendo-programacao/spring-boot-jdbc-template
flyway-migrations java jdbc-template spring
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aprendendo-programacao/spring-boot-jdbc-template
- Owner: Aprendendo-programacao
- Created: 2021-09-26T13:50:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T15:31:14.000Z (over 3 years ago)
- Last Synced: 2025-01-28T00:38:37.998Z (4 months ago)
- Topics: flyway-migrations, java, jdbc-template, spring
- Language: Java
- Homepage: https://youtu.be/CJjHdchLY9Y
- Size: 67.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
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