adai123
2016-08-31 13:51
前端是这样的,
eclipse 控制台
DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
DEBUG
org.mybatis.spring.SqlSessionUtils - SqlSession
[org.apache.ibatis.session.defaults.DefaultSqlSession@e50d4] was not
registered for synchronization because synchronization is not active
DEBUG
o.m.s.t.SpringManagedTransaction - JDBC Connection
[com.mchange.v2.c3p0.impl.NewProxyConnection@1a6032d] will not be
managed by Spring
DEBUG com.anec.dao.SeckillDao.queryById - ==>
Preparing: SELECT seckill_id,name,number,start_time,end_time,create_time
FROM seckill WHERE seckill_id = ?
DEBUG com.anec.dao.SeckillDao.queryById - ==> Parameters: 1000(Long)
DEBUG com.anec.dao.SeckillDao.queryById - <== Total: 1
DEBUG
org.mybatis.spring.SqlSessionUtils - Closing non transactional
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@e50d4]
还有这个~
为何JDBC没有被SPRING管理?
Java高并发秒杀API之web层
66079 学习 · 395 问题
相似问题