Use the clientInfoProvider connection attribute|V2.4.19|OceanBase Connector/J |docs|OceanBase Documentations