登陆后台管理界面,spring后台不停打印Creating a new SqlSession
各位大佬们,本人小白一只,jeecg boot真是我的福音,我在学习jeecg的过程中遇到了一个问题,希望各位大佬能给我指点迷津。谢谢!我把jeecgboot源码下载完,环境搭好了之后,项目正常运行起来之后,我进入管理后台界面之后,每刷新一次页面,spring后台都会打印日志,是什么原因呢 ,日志内容如下
Creating a new SqlSession
SqlSession was not registered for synchronization because synchronization is not active
JDBC Connection will not be managed by Spring
==>Preparing: select s.item_text from sys_dict_item s where s.dict_id = (select id from sys_dict where dict_code = ?) and s.item_value = ?
==> Parameters: person_size(String), 3(String)
<== Columns: item_text
<== Row: 100-500人
<== Total: 1
Closing non transactional SqlSession
Creating a new SqlSession
SqlSession was not registered for synchronization because synchronization is not active
JDBC Connection will not be managed by Spring
==>Preparing: insert into sys_log (id, log_type, log_content, method, operate_type, request_param, ip, userid, username, cost_time, create_time) values( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
==> Parameters: 1405343986421628930(String), 2(Integer), 往来客户信息-分页列表查询(String), org.jeecg.modules.demo.clientInfo.controller.ClientInfoController.queryPageList()(String), 1(Integer), clientInfo: ClientInfo(id=null, createBy=null, createTime=null, updateBy=null, updateTime=null, sysOrgCode=null, type=null, code=null, name=null, property=null, primaryPerson=null, primaryPersonPhone=null, companySize=null, personSize=null, mainBusiness=null, industry=null, registeredCapital=null, url=null, address=null, salesPersonId=null, salesDepartmentId=null, servicePersonId=null, serviceDepartmentId=null)pageNo: 1pageSize: 10req: org.apache.shiro.web.servlet.ShiroHttpServletRequest@3c23f253(String), 0:0:0:0:0:0:0:1(String), admin(String), 管理员(String), 89(Long), 2021-06-17 09:58:11.048(Timestamp)
<== Updates: 1
Closing non transactional SqlSession
总体概括下来,就是在不停的创建一个新的SqlSession
Creating a new SqlSession
然后有个异常
SqlSession was not registered for synchronization because synchronization is not active
JDBC Connection will not be managed by Spring
最后在关闭这个SqlSession
Closing non transactional SqlSession
就不停的重复这个指令,把我给整吐了
有没有大佬可以帮帮我 谢谢了
页:
[1]