Files
hibernate8-jpa4-demo/rls-safe-mode/output/04-function-moves-tenant.txt
T

9 lines
393 B
Plaintext

safe_mode_enabled=false. tenantA runs a hostile HQL fragment, then the app counts rows natively in the same transaction.
hostile set_config(): ran
native count afterwards -> ok: 1
safe_mode_enabled=true. tenantA runs a hostile HQL fragment, then the app counts rows natively in the same transaction.
hostile set_config(): blocked (SemanticException)
native count afterwards -> ok: 2