register测试时报错~
来源:6-9 用户模块所有功能自测试
dsjifdsbjkv
2017-06-08
[21:59:13.231][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Creating a new SqlSession
[21:59:13.231][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f4fd7] was not registered for synchronization because synchronization is not active
[21:59:13.233][DEBUG][o.m.s.t.SpringManagedTransaction][http-apr-8080-exec-1] JDBC Connection [jdbc:mysql://127.0.0.1:3306/javaweb?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring
[21:59:13.233][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] ==> Preparing: select count(1) from mmall_user where email = ?
[21:59:13.234][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] ==> Parameters: admin141324(String)
[21:59:13.235][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] <== Total: 1
[21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f4fd7]
[21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Creating a new SqlSession
[21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1686443] was not registered for synchronization because synchronization is not active
[21:59:13.236][DEBUG][o.m.s.t.SpringManagedTransaction][http-apr-8080-exec-1] JDBC Connection [jdbc:mysql://127.0.0.1:3306/javaweb?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring
[21:59:13.236][DEBUG][com.javashop.dao.UserMapper.insert][http-apr-8080-exec-1] ==> Preparing: insert into mmall_user (id, username, password, email, phone, question, answer, role, create_time, update_time) values (?, ?, ?, ?, ?, ?, ?, ?, now(), now())
[21:59:13.237][DEBUG][com.javashop.dao.UserMapper.insert][http-apr-8080-exec-1] ==> Parameters: null, admin141324(String), BBAD8D72C1FAC1D081727158807A8798(String), testtest@happymal.coml(String), 13800138000(String), 问题(String), 问题的回答(String), 0(Integer)
[21:59:13.367][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1686443]
3回答
-
dsjifdsbjkv
提问者
2017-06-08
21321
00 -
dsjifdsbjkv
提问者
2017-06-08
这个解决了 是唯一索引, 问题来了 当send时返回200 msg:注册失败 可数据库中记录增加了 是什么问题
022017-06-12 -
dsjifdsbjkv
提问者
2017-06-08
500 Internal Server Error
00
相似问题