xuup opened a new issue, #19051:
URL: https://github.com/apache/shardingsphere/issues/19051
## Question
Hi, I found a place refer to each other in ShardingSphere master branch.
##### org/apache/shardingsphere/proxy/backend/session/ConnectionSession.java
BackendConnection is one of ConnectionSession‘s properties.
```java
public final class ConnectionSession {
private final BackendConnection backendConnection;
}
```
However, in BackendConnection's implements , like JDBCBackendConnection,
ConnectionSession as one of its properties.
#####
org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/JDBCBackendConnection.java
```java
public final class JDBCBackendConnection implements BackendConnection<Void>,
ExecutorJDBCConnectionManager {
private final ConnectionSession connectionSession;
}
```
I think this is not good for java programming, Could you please explain the
reason for this design? Thx .
--
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:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]