Skip to content

ProductDock/spring-h2-oracle-compatibility

Repository files navigation

Spring h2 and oracle compatibility

Setup docker

Start oracle free container: docker run -d -p 1521:1521 -e APP_USER=idea -e APP_USER_PASSWORD=idea -e ORACLE_PASSWORD=admin -v oracle-volume:/opt/oracle/oradata --name oraclecomp gvenzl/oracle-free:23

Run tests

Run with gradle: ./gradlew test

Test endpoints

  • Add new appointment: curl -X POST -H "Content-Type: application/json" -d '{"day": 17, "month": 1, "year": 2025 }' http://localhost:8080/v1/api/appointments
  • List all appointments: curl -X GET http://localhost:8080/v1/api/appointments

Releases

No releases published

Packages

No packages published

Languages