一路磕磕盼盼终于进入最后秒杀,可是~~~
前端是这样的,
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]