You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/07/29 09:54:44 UTC

[GitHub] [incubator-shardingsphere] yangweixin opened a new issue #2781: how to get primary key.

yangweixin opened a new issue #2781: how to get primary key.
URL: https://github.com/apache/incubator-shardingsphere/issues/2781
 
 
   when i insert a new row, and use key-generator to create a distributed primary key, i can`t get the primary key by `LAST_INSERT_ID()` or mybatis, but i need to get the key to continue the service. 
   i read through the document and issue, but still can`t find a solution. i wonder whether there is a way to get the key directly?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services