Add rls-safe-mode module: Hibernate 8.0.0.CR2 HQL safe mode and PostgreSQL row-level security for @TenantId

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur Mhatre
2026-12-01 08:08:31 +05:30
co-authored by Claude Sonnet 5.5
parent 54c6d606ff
commit 1c9d9423c0
20 changed files with 817 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ Runnable companion to the ankurm.com article on `EntityAgent` and stateless sess
Every number in the article comes from a file in [`output/`](output), and each of those files is
written by a test that asserts the same numbers, so a figure that stops being true fails the build.
> Other module: [`jakarta-data/`](jakarta-data) holds the Jakarta Data repositories vs Spring Data JPA demo; [`flush-ordering/`](flush-ordering) the flush-queue demo.
> Other module: [`jakarta-data/`](jakarta-data) holds the Jakarta Data repositories vs Spring Data JPA demo; [`flush-ordering/`](flush-ordering) the flush-queue demo; [`rls-safe-mode/`](rls-safe-mode) HQL safe mode and PostgreSQL row-level security for `@TenantId` (CR2, PostgreSQL 16).
## Versions tested