This is a locally runnable [Deep Data Security](https://docs.oracle.com/en/database/oracle/oracle-database/26/ddscg/introduction-oracle-deep-data-security.html) example for Oracle AI Database. It follows the local end-user quick start from the Deep Data Security guide, driving the validation from a JUnit test.
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.
Security
Identity-aware access, data protection, and audit samples for Oracle AI Database applications.
Use when applications need database-enforced boundaries for who can see, update, or operate on sensitive data.
Highlights
- pom.xml declares the plain JDBC and Testcontainers dependencies.
- init.sql creates the HR table, local end users, custom end-user context, data roles, and data grants.
- DeepDataSecurityTest.java runs the JDBC proof against Oracle AI Database Free.
- deep-data-security-flow.svg diagrams the end-to-end test flow.