lcjing commented on issue #31618:
URL:
https://github.com/apache/shardingsphere/issues/31618#issuecomment-2160037689
* What I mean is that the `driverClassName` property will not be assigned a
value! The condition isSkippedProperty (fieldName) is false, so it will not be
assigned,the unit tests is simple:
```java
@Test
public void test() {
DataSource source = new HikariDataSource();
DataSourcePoolReflection dataSourcePoolReflection = new
DataSourcePoolReflection(source);
dataSourcePoolReflection.setField("jdbcUrl",
"jdbc:mysql://localhost:3306/test");
dataSourcePoolReflection.setField("driverClassName",
"com.mysql.cj.jdbc.Driver");
System.out.println(dataSourcePoolReflection);
}
```
* Breakpoint observation, you can see that `jdbcUrl` can be assigned
normally, but `driverClassName` does not
--
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]