一路磕磕盼盼终于进入最后秒杀,可是~~~

来源:-

adai123

2016-08-31 13:51

前端是这样的,http://img.mukewang.com/57c66f5f00018a9106910527.jpg




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]

写回答 关注

2回答

  • adai123
    2016-08-31 14:51:37

    http://img.mukewang.com/57c67e470001f47704160203.jpg

    还有这个~

  • adai123
    2016-08-31 13:53:00

    为何JDBC没有被SPRING管理?

Java高并发秒杀API之web层

Java实现高并发秒杀API的第三门课,介绍Web层的设计和实现

66079 学习 · 395 问题

查看课程

相似问题