mybatis-crypto icon indicating copy to clipboard operation
mybatis-crypto copied to clipboard

🔐 A MyBatis-based crypto plugin

Results 6 mybatis-crypto issues
Sort by recently updated
recently updated
newest added

keepparameter=true时,遇到异常,比如说索引冲突,参数就跳过解密了,是不是先解密再抛出异常更合适

bug

https://github.com/pagehelper/Mybatis-PageHelper 这个插件似乎会影响责任链,Google可以搜到很多反馈,如http://xtong.tech/2018/08/01/MyBatis%E6%8B%A6%E6%88%AA%E5%99%A8%E5%9B%A0pagehelper%E8%80%8C%E5%A4%B1%E6%95%88%E7%9A%84%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/ 。 该仓库的作者在 https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/Interceptor.md 给了一个教程,不知道作者是否可以做一下兼容? 我不太懂Java底层的设计,不知道他们那种做法是不是合理...但是因为这个pageHelper还比较热门,已经是屎山里埋得比较深了,如果不兼容的话可能很多项目都会有问题。🥲

我自定义了个Encryptor,且使用了Spring容器的注入 ```java @Component public class Encryptor implements IEncryptor { @Autowired private PooledPBEStringEncryptor encryptor; @Autowired private IUserLogService userLogService; @Override public String encrypt(Object o, String s) throws Exception { userLogService.save(new UserLog()); return...