starldh commented on issue #24337:
URL:
https://github.com/apache/shardingsphere/issues/24337#issuecomment-1477243711
@strongduanmu @gxxiong
Hello. I use 5.3.2-SNAPSHOT. But it doesn't work well.
`select * from sla_user_service_recorde where user_name like CONCAT('%',
'abc', '%'). `It work well
`select * from sla_user_service_recorde where user_name like CONCAT('%',
#{userName}, '%').` It doen't work.
Error is :
`java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
~[na:1.8.0_362]
at java.util.LinkedList.get(LinkedList.java:476) ~[na:1.8.0_362]
at
org.apache.shardingsphere.encrypt.rewrite.token.generator.EncryptPredicateRightValueTokenGenerator.getPositionValues(EncryptPredicateRightValueTokenGenerator.java:141)
~[shardingsphere-encrypt-core-5.3.2-SNAPSHOT.jar:5.3.2-SNAPSHOT]`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]