Restore Sql for iBatis/MyBatis

Compatible with IntelliJ IDEA
28.03.2017
650
Restore the ibatis/mybatis generate sql to original whole sql.
It will generate sql statements with replace ? to the really param value.
Through the "Tools -> Tail restore sql in Console" menu you can tail the sql log.
You can selected the "Filter" button on the left to filter the contents don't wanna display.
You can selected the "Format Sql" button on the left to format the generate sql statements.
Prerequisite: sql log must contain "Preparing:" and "Parameters:"
-----------------------------------------------------------------------------------------------------------------------
把 ibatis/mybatis 输出的sql日志还原成完整的sql语句。
将日志输出的sql语句中的问号 ? 替换成真正的参数值。
通过 "Tools -> Tail restore sql in Console" 菜单或快捷键 "Ctrl+Shift+Alt+O" 启用。
点击窗口左边的 "Filter" 按钮,可以过滤不想要输出的sql语句。
点击窗口左边的 "Format Sql" 按钮,可以格式化输出的sql语句。
前提条件:输出的sql日志必须包含"Preparing:"和"Parameters:"才能正常解析。

Plugin | Github | Issues

Download plugin

Recent change notes

Restore the ibatis/mybatis generate sql to original whole sql. It will generate sql statements with replace ? to the really param value.

General usage instructions

Restore the ibatis/mybatis generate sql to original whole sql.

It will generate sql statements with replace ? to the really param value.

Through the "Tools -> Tail restore sql in Console" menu you can tail the sql log.

You can selected the "Filter" button on the left to filter the contents don't wanna display.

You can selected the "Format Sql" button on the left to format the generate sql statements.

Prerequisite: sql log must contain "Preparing:" and "Parameters:"

-----------------------------------------------------------------------------------------------------------------------

把 ibatis/mybatis 输出的sql日志还原成完整的sql语句。

将日志输出的sql语句中的问号 ? 替换成真正的参数值。

通过 "Tools -> Tail restore sql in Console" 菜单或快捷键 "Ctrl+Shift+Alt+O" 启用。

点击窗口左边的 "Filter" 按钮,可以过滤不想要输出的sql语句。

点击窗口左边的 "Format Sql" 按钮,可以格式化输出的sql语句。

前提条件:输出的sql日志必须包含"Preparing:"和"Parameters:"才能正常解析。