[GitHub] [shardingsphere] XUZHOUWANG commented on issue #10274: The primary key is sharding column created the key value by the GeneratedKey config 。 is it okay?

2021-05-07 Thread GitBox
XUZHOUWANG commented on issue #10274: URL: https://github.com/apache/shardingsphere/issues/10274#issuecomment-835009849 > "IdType.AUTO" is created by the database,it will create by shardingsphere database middleware,mybatis-plus do nothing. it's okay. I try it. it's fine. I know

[GitHub] [shardingsphere] XUZHOUWANG commented on issue #10274: The primary key is sharding column created the key value by the GeneratedKey config 。 is it okay?

2021-05-07 Thread GitBox
XUZHOUWANG commented on issue #10274: URL: https://github.com/apache/shardingsphere/issues/10274#issuecomment-834999874 > Follow step 1 ~ 2 it‘s okay. but i want to the value of the primary key created by the snowflake set by the sharding configuration. while step 1~2,the id is

[GitHub] [shardingsphere] XUZHOUWANG commented on issue #10274: The primary key is sharding column created the key value by the GeneratedKey config 。 is it okay?

2021-05-07 Thread GitBox
XUZHOUWANG commented on issue #10274: URL: https://github.com/apache/shardingsphere/issues/10274#issuecomment-834987969 > 1. Use "@TableId(type = IdType.AUTO)" > 2. id's type in class not match uuid no,I want to create the id by shardingsphere; the definition of User is okay.

[GitHub] [shardingsphere] XUZHOUWANG commented on issue #10274: The primary key is sharding column created the key value by the GeneratedKey config 。 is it okay?

2021-05-07 Thread GitBox
XUZHOUWANG commented on issue #10274: URL: https://github.com/apache/shardingsphere/issues/10274#issuecomment-834987100 https://blog.csdn.net/qiaoqiyu6416/article/details/107044664/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to