ibatis抛出Closing non transactional SqlSession异常怎么解决
1个回答
展开全部
DEBUG - ==> Preparing: select category_id,category_name,level,parent_id,create_time,sffj from product_category
DEBUG - ==> Parameters:
DEBUG - <== Total: 25
DEBUG - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7271d362]
WARN - Handler execution resulted in exception: null
应该是xml配置的问题,但是我找不出来
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
DEBUG - ==> Parameters:
DEBUG - <== Total: 25
DEBUG - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7271d362]
WARN - Handler execution resulted in exception: null
应该是xml配置的问题,但是我找不出来
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询