Uses of Class
is.codion.common.db.database.ClientInfo
Packages that use ClientInfo
-
Uses of ClientInfo in is.codion.common.db.database
Methods in is.codion.common.db.database with parameters of type ClientInfoModifier and TypeMethodDescriptiondefault voidDatabase.clientInfo(Connection connection, ClientInfo clientInfo) Stamps the given connection with the identity of the client about to use it, so that the database can attribute the work to the end user rather than to the database user, which with a shared user is the same one for everybody.voidSessionContext.prepare(ClientInfo clientInfo, Connection connection) Called once the connection has been made ready for the given client and before it is used: on every check out where the connection comes from a pool, once per connection otherwise.voidSessionContext.release(ClientInfo clientInfo, Connection connection) Called before the connection is released, in reverse of the order the contexts were applied in: on every return to the pool where the connection came from one, when the client disconnects otherwise.