Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jabrena/spring-boot-jooq-testcontainers-example
https://github.com/jabrena/spring-boot-jooq-testcontainers-example
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jabrena/spring-boot-jooq-testcontainers-example
- Owner: jabrena
- License: apache-2.0
- Created: 2022-06-12T09:55:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-12T15:30:33.000Z (over 2 years ago)
- Last Synced: 2024-10-11T03:14:46.685Z (about 1 month ago)
- Language: PLpgSQL
- Size: 786 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Boot JOOQ Testcontainers Example
[![Java CI](https://github.com/jabrena/spring-boot-jooq-testcontainers-example/actions/workflows/build.yml/badge.svg)](https://github.com/jabrena/spring-boot-jooq-testcontainers-example/actions/workflows/build.yml)
This example shows how to run jOOQ's code generation against a Testcontainers managed PostgreSQL database,
which gets its schema installed using Testcontainer's TC_INITSCRIPT.## How to run the example?
```
./mvnw clean verify
```The example should run right away.
## Other commands
```
mvn versions:display-dependency-updates
```## References
### Documentation
- https://www.jooq.org/doc/3.16/manual-single-page/
- https://docs.spring.io/spring-boot/docs/current/reference/html/data.html#data.sql.jooq### Articles
- https://www.petrikainulainen.net/using-jooq-with-spring/
- https://www.baeldung.com/jooq-with-spring### Examples
- https://github.com/jOOQ/jOOQ/tree/main/jOOQ-examples/jOOQ-testcontainers-example