4 ms·
Can I do that inline with a statement? I don't think I'd mind outsourcing rights to the DB.
by virmundi 9y ago
Can I do that inline with a statement? I don't think I'd mind outsourcing rights to the DB.
- snuxoll 9y agoNo, you'll need to call SET/RESET role as their own statements. The easiest way to do this in Java is to ensure RESET ROLE is called when checking a connection back into the pool, and calling SET ROLE in a servlet interceptor (probably the same one that handles authentication).