We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 如果同时查询一个数据源上面两个分表, // 则此处复用了同一个connection,结果集ResultSet会报错,应该新建connection if (connectionMap.containsKey(dataSourceName)) { ??? return connectionMap.get(dataSourceName); }
The text was updated successfully, but these errors were encountered:
同时查询一个数据源上的两个分表不会报错的。测试用例com.dangdang.ddframe.rdb.integrate.db.SelectShardingDataBasesOnlyTest中有测试一个数据源多个分表的情况。如果有问题请给出测试代码。谢谢
com.dangdang.ddframe.rdb.integrate.db.SelectShardingDataBasesOnlyTest
Sorry, something went wrong.
不要意思,是我自己动态数据源组内部并发问题,不过一个数据源只有一个连接,多个分表查询并发上不去
Merge pull request #23 from sharding-sphere/dev
a0b2dc4
update from origin
No branches or pull requests
// 如果同时查询一个数据源上面两个分表,
// 则此处复用了同一个connection,结果集ResultSet会报错,应该新建connection
if (connectionMap.containsKey(dataSourceName)) { ???
return connectionMap.get(dataSourceName);
}
The text was updated successfully, but these errors were encountered: