[GitHub] [incubator-shardingsphere] minghu-zhang commented on issue #3647: The data decrypt failure when I use mysql's blob field

2019-12-04 Thread GitBox
minghu-zhang commented on issue #3647: The data decrypt failure when I use 
mysql's blob field
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3647#issuecomment-561576715
 
 
   > We have no plan to add encrypt feature to type blob, do you want add this 
feature? @minghu-zhang
   
   Thank you very much. These problems have been fixed when I download the 
latest code.


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


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] minghu-zhang commented on issue #3647: The data decrypt failure when I use mysql's blob field

2019-12-03 Thread GitBox
minghu-zhang commented on issue #3647: The data decrypt failure when I use 
mysql's blob field
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3647#issuecomment-561435015
 
 
   > We have no plan to add encrypt feature to type blob, do you want add this 
feature? @minghu-zhang
   
   Ok,I'll try to add it


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


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] minghu-zhang commented on issue #3647: The data decrypt failure when I use mysql's blob field

2019-12-03 Thread GitBox
minghu-zhang commented on issue #3647: The data decrypt failure when I use 
mysql's blob field
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3647#issuecomment-561079396
 
 
   I have annother problem when use mybatis, mybatis need driver support jdbc's 
api  4.2, but sharding's EncryptResultSet doesn't support . the text field is 
handle by mybatis ClobTypeHandler, sharding‘s handler result is String, the 
following code :
   
   EncryptResultSet.java:339
   
  @Override
   public Clob getClob(final String columnLabel) throws SQLException {
   return (Clob) resultSet.getValue(getActualColumnLabel(columnLabel), 
Clob.class);  
  //
   }
   
   StreamQueryResult.java:74
   
   @Override
   public Object getValue(final String columnLabel, final Class type) 
throws SQLException {
   // This type value is not used 
   return decrypt(columnLabel, QueryResultUtil.getValue(resultSet, 
queryResultMetaData.getColumnIndex(columnLabel)));
   }
   
   
   


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


With regards,
Apache Git Services