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/10/17 09:10:23 UTC

[GitHub] [incubator-shardingsphere] zzy97092236 edited a comment on issue #3255: DATA MASKING-- Encrypt-JDBC couldn't not get decrypt information after execute select method

zzy97092236 edited a comment on issue #3255: DATA MASKING--  Encrypt-JDBC couldn't not get decrypt information after execute select method
URL: https://github.com/apache/incubator-shardingsphere/issues/3255#issuecomment-541690217
 
 
   1、version
   
   ```
   <version>4.0.0-RC2</version>
   ```
   
   2、sql with SpringDataJPA
   
   ```
    2019-10-14 21:42:39.938  INFO 10868 --- [nio-9002-exec-1] ShardingSphere-SQL                       : SQL: select zzyinfo0_.id as id1_1_0_, zzyinfo0_.create_time as create_time2_1_0_, zzyinfo0_.create_user_id as create_user_id3_1_0_, zzyinfo0_.id_number_encypt as id_number4_1_0_, zzyinfo0_.update_time as update_time5_1_0_, zzyinfo0_.update_user_id as update_user_id6_1_0_, zzyinfo0_.user_name as user_name7_1_0_ from zzy_test_2018 zzyinfo0_ where zzyinfo0_.id=?
   ```
   
   3、return with a Proxy
   
   ```
   Method threw 'org.hibernate.HibernateException' exception. Cannot evaluate com.zm.update.jpa.domain.first.ZzyInfo$HibernateProxy$6kUWeQhC.toString() 
   ```
   
   4、
   ![a](https://user-images.githubusercontent.com/56537799/66756491-b93c8100-eecc-11e9-8e73-2b41a2920420.png)
   ![b](https://user-images.githubusercontent.com/56537799/66756505-c2c5e900-eecc-11e9-9f24-8780f8e2dddd.png)
   
   

----------------------------------------------------------------
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