This content has been marked as final. Show 2 replies
You can execute a native SQL query in JPA to set the client identifier.
In EclipseLink you could also esxecute a StoredProcedureCall or a @NamedStoredProcedureQuery.
You could also use SessionEvents to have this call on every JPA session.
EclipseLink also has support for proxy authentication and VPD,