How to add the tidb_isolation_read_engines isolation configuration in the JDBC connection? The official documentation only provides the usage of set @@session.tidb_isolation_read_engines = “tiflash” in SQL queries, but I couldn’t find the specific syntax for implementing it in JDBC.
Can the teachers provide an example? Referring to the above document, adding connectionString += “tidb_isolation_read_engines=tiflash” results in an error that does not recognize the tidb_isolation_read_engines parameter.
I just realized that another post was also made by you, and they have already put it together. You just need to add this directly to your connectionString.
Also, in another post you asked whether you can have two connections, one accessing TiKV and the other accessing TiFlash.
You can set up two connection pools, using JDBC to control one to access only TiKV and the other to access only TiFlash.