My database connections require us to apply certain identifying information for each request. Our current "getConnection" code generally contains something similar to connection.setClientInfo('OCSID.CLIENTID','my Client ID');.
I've recently began trying to setup spring-boot JPA repositories/entities to remove a lot of the boilerplate JDBC code, but so far I haven't found any documentation or examples that would allow me to configure the connection based on the client/user information of the user actually making the request. Is this something you can even do with a JPA setup?