tranceyu opened a new issue, #35135:
URL: https://github.com/apache/shardingsphere/issues/35135
## Question
sharding jdbc in my project version is 5.5.2 is proper functioning
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc</artifactId>
<version>5.5.2</version>
</dependency>
but i have a question
code
@Resource
private DataSource dataSource;
System.out.println("Injected DataSource Type: " +
dataSource.getClass().getName());
log
Injected DataSource Type: com.zaxxer.hikari.HikariDataSource
why the type not ShardingSphereDataSource ?
shardingsphere-jdbc principle is proxy original dataSource why the type
is not ShardingSphereDataSource ?
--
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]