Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/jpa-uuid
Using UUID as JPA entity identifier in different frameworks with on pg, mysql and h2 relational databases
https://github.com/daggerok/jpa-uuid
docker-compose-maven-plugin h2 h2-database jpa maven-docker-compose-plugin maven-plugin mysql mysqladmin pg pgsql postgres postgresql spring-boot-2 spring-data-jpa spring-mvc travis-config-gh-publish vuepress webtestclient
Last synced: about 1 month ago
JSON representation
Using UUID as JPA entity identifier in different frameworks with on pg, mysql and h2 relational databases
- Host: GitHub
- URL: https://github.com/daggerok/jpa-uuid
- Owner: daggerok
- License: mit
- Created: 2019-02-24T18:29:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T23:23:06.000Z (almost 6 years ago)
- Last Synced: 2024-11-11T15:39:09.951Z (3 months ago)
- Topics: docker-compose-maven-plugin, h2, h2-database, jpa, maven-docker-compose-plugin, maven-plugin, mysql, mysqladmin, pg, pgsql, postgres, postgresql, spring-boot-2, spring-data-jpa, spring-mvc, travis-config-gh-publish, vuepress, webtestclient
- Language: Java
- Homepage: https://daggerok.github.io/jpa-uuid/
- Size: 293 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JPA UUID
Using UUID as JPA entity identifier in different frameworks with on pg, mysql and h2 relational databasesTravis CI build status: [![Build Status](https://travis-ci.org/daggerok/jpa-uuid.svg?branch=master)](https://travis-ci.org/daggerok/jpa-uuid)
GitHub [daggerok/jpa-uuid](https://github.com/daggerok/jpa-uuid/) repository
Read docs on [GitHub Pages](https://daggerok.github.io/jpa-uuid/)
TODO: Add some JavaEE / JackartaEE, PayaraMicro, WildFly Swarm / Thourntail, KumuluzEE, etc...
## up and running needed services in docker
```bash
./mvnw -DskipTests
./mvnw -f docker/all/pom.xml -P up
```## run h2 entity-manager app
```bash
bash ./apps/spring-boot-entity-manager-h2-app/target/*.jar
http :8080/auto message=hello-em-h2
http :8080/auto
```## run h2 spring-data app
```bash
bash ./apps/spring-boot-spring-data-h2-app/target/*.jar
http :8080/manual message=hello-data-h2
http :8080/manual
```## run mysql entity-manager app
```bash
bash ./apps/spring-boot-entity-manager-mysql-app/target/*.jar
http :8080/manual message=hello-em-mysql
http :8080/manual
```## run mysql spring-data app
```bash
bash ./apps/spring-boot-spring-data-mysql-app/target/*.jar
http :8080/auto message=hello-data-mysql
http :8080/auto
```## run postgres entity-manager app
```bash
bash ./apps/spring-boot-entity-manager-postgres-app/target/*.jar
http :8080/manual message=hello-em-postgres
http :8080/manual
```## run postgres spring-data app
```bash
bash ./apps/spring-boot-spring-data-postgres-app/target/*.jar
http :8080/auto message=hello-data-postgres
http :8080/auto
```## cleanup
```bash
killall -9 java
./mvnw -f docker/all/pom.xml -P down
```## build VuePress documentation
```bash
npm i ; npm run build
```