QNJR-GROUP / EasyTransaction

A distribute transaction solution(分布式事务) unified the usage of TCC , SAGA ,FMT (seata/fescar AutoCompensation), reliable message, compensate and so on;
Apache License 2.0
2.36k stars 809 forks source link

fix: 修复自定义数据表 str_codec 前缀时查询语句错误的问题 #149

Closed HasonHuang closed 4 years ago

HasonHuang commented 4 years ago
  1. 问题1:初始化 DatabaseStringCodecImpl 时,没有为语句 GET_BY_ID 添加前缀名 image 在调用 findString 时会抛出异常 MySQLSyntaxErrorException: Table 'str_codec' doesn't exist image

  2. 问题2:README 中 str_codec DDL 的字段 str_type 错误 image 下图是代码中使用的字段 type_str image

skyesx commented 4 years ago

thx~