IDEA Plugin MyBatis Log Sql. from Clipboard mybatis log,By this Plugin Process create result sql will put to Clipboard.
You can select the console sql log and right click "Restore Sql from Selection" menu to restore sql.
剪贴板sql日志须包含"==> Preparing:"和"==> Parameters:"才能正常解析
==> Preparing: SELECT * from t_test where id = ?
12-28 17:22:05.102 [qtp1635985705-26] DEBUG org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:159) - ==> Parameters: 1(Long)
Github | Issues