You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/07/13 03:28:32 UTC

[GitHub] [shardingsphere] TeslaCN commented on issue #19051: Refer to each other in class "ConnectionSession" and "BackendConnection"

TeslaCN commented on issue #19051:
URL: https://github.com/apache/shardingsphere/issues/19051#issuecomment-1182723815

   In earlier version, there is a `BackendConnection` which includes all fields in `ConnectionSession` and `JDBCBackendConnection`. We want to decouple `BackendConnection` from JDBC, so we separated it into two classes.
   `ConnectionSession` and `BackendConnection` is bound for a client of Proxy, so we make it refers each other.
   
   Actually, this is similar to `HikariPool` and `HikariDataSource`, which refers each other.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org