This sample demonstrates the database-per-service pattern on Oracle AI Database with a simple cross-service workflow: **course registration checks**.
What this sample demonstrates
Testcontainers
Disposable Oracle AI Database Free containers for repeatable local and integration tests.
Use when tests need real database behavior without sharing a long-lived development instance.
Spring
Spring framework samples for data access, messaging, configuration, and application wiring.
Use when Java applications need Spring-managed components backed by Oracle AI Database.
Highlights
- students/: student profile and completed-course history in studentpdb
- courses/: course catalog, prerequisites, and term offerings in coursepdb
- sample/: command-line runner and end-to-end test that compose data from both services over HTTP
- students: university ID, name, status, and completed course codes