tristaZero commented on issue #7922: URL: https://github.com/apache/shardingsphere/issues/7922#issuecomment-717677454
Hi @shihuizhen @Lucas-307 I did not look through all the conversation between you. If `PreparedStatement` comes from `ShardingSphereConnection`, `ps.getGeneratedKeys` can work well for sharding tables. However, I have to say there is a bug when get generated keys after a batch insert SQL, which has been fixed in the forthcoming 5.x release. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
