Uses of Class
is.codion.common.db.database.ClientInfo

Packages that use ClientInfo
Package
Description
Database related classes.
  • Uses of ClientInfo in is.codion.common.db.database

    Methods in is.codion.common.db.database with parameters of type ClientInfo
    Modifier and Type
    Method
    Description
    default void
    Database.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.
    void
    SessionContext.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.
    void
    SessionContext.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.