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 2021/11/01 08:57:33 UTC

[GitHub] [shardingsphere] XiaoHongMao94 opened a new issue #13388: Mybaties Plus Insert did not return to the primary key?

XiaoHongMao94 opened a new issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388


   
   I use ShardingSphere data encryption module
   When I use mybaties plus insert a data object of a primary key has not been assigned
   The table is not in the configuration file ==> rules.encrypt.tables
   In the form in the configuration file is normal
   
   ## configuration 
   spring:
     shardingsphere:
       rules:
         encrypt:
           encryptors:
             encryptor_aes:
               type: sm4
           tables:
             test_table:
               columns:
                 fname:
                   plainColumn: fname
                   cipherColumn: fname_enc
                   encryptorName: encryptor_aes
   
   ## code
   
   TestTable test = new TestTable();
   testService.saveOrUpdate(test); // **test bean primary key is null**
   
   public interface TestServiceextends IService<TestTable> {
   }
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-961594064


   Hi, ORM integrate is not the scope which we served.
   Please start discuss after dig to JDBC layer.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-961594064


   Hi, ORM integrate is not the scope which we served.
   Please start discuss after dig to JDBC layer.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu closed issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-958982830


   which version did you use? please provide logic sql, actual sql and other more log info.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-958982830


   which version did you use? please provide logic sql, actual sql and other more log info.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu closed issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-958982830






-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu closed issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu commented on issue #13388: Mybaties Plus Insert did not return to the primary key?

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #13388:
URL: https://github.com/apache/shardingsphere/issues/13388#issuecomment-961594064


   Hi, ORM integrate is not the scope which we served.
   Please start discuss after dig to JDBC layer.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org