调用操作后,IBatis“设置”查询不会结束

时间:2018-12-20 06:21:40

标签: xml ibatis

<select id="SELECT" resultClass="java.util.HashMap">
 SET @tmp:='0'; 
</select>

我正在尝试使用自己的变量,所以我使用了xml文件中的set。 但是该动作并没有完成,只是继续加载。

.....

================================================ ==================

20-12-18 15:20:44:434 - {DEBUG} sql.Connection Thread [http-bio-8080-exec-5];  {conn-100003} Connection
20-12-18 15:20:44:434 - {DEBUG} sql.Connection Thread [http-bio-8080-exec-5];  {conn-100003} Preparing Statement:   

 SET @tmp:='0'; 



20-12-18 15:20:44:435 - {DEBUG} sql.PreparedStatement Thread [http-bio-8080-exec-5];  {pstm-100004} Executing Statement:    

 SET @tmp:='0'; 



20-12-18 15:20:44:435 - {DEBUG} sql.PreparedStatement Thread [http-bio-8080-exec-5];  {pstm-100004} Parameters: []
20-12-18 15:20:44:435 - {DEBUG} sql.PreparedStatement Thread [http-bio-8080-exec-5];  {pstm-100004} Types: []

Eclipse控制台到此结束,不再更改。

0 个答案:

没有答案