seckill
seckill copied to clipboard
seckill for imocc
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.5.4 to 2.12.6.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 5.1.35 to 8.0.28. Changelog Sourced from mysql-connector-java's changelog. Changelog https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/ Version 8.0.29 Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH(). Fix for Bug#81468 (23312764), MySQL server...
``create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间' 对于MySQL version:8.0.19,要设置create_time自动更新,因为insertSuccessKilled()没有插入create_time,create_time为默认值00-00-00 00:00:00。不然在测试queryByIdWithSeckill()时程序会报错:Caused by: com.mysql.cj.exceptions.DataReadException: Zero date value prohibited。
Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 4.1.7.RELEASE to 4.3.19.RELEASE. Commits f428cbb Release version 4.3.19.RELEASE 6a5d986 Fix SpEL compilation for non trivial elvis operand 8ce9236 Polishing 1a626ab SpelExpression consistently exposes EvaluationContext to compiled AST...
按照老师的代码写的存储过程,在执行CALL execute_seckill(1007,13813813822,NOW(),@r_result); 报错ERROR 1146 (42S02): Table 'seckill.success_kill' doesn't exist 请问老师知道是怎么一回事吗
自己访问什么都没有问题,但用jmeter一压测,就出问题了 >`2018-05-21 20:10:07.052 ERROR 10132 --- [io-8080-exec-18] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed...
在慕课网听了你的这门课程,真是太喜欢了。老师你是我在慕课网听过的课程里**讲课**讲得**最好的**老师。所以我用谷歌搜索了你在慕课网的头像就找到这里啦,哈哈。 希望你能回来慕课网开一门实战课程,不管什么课,多少钱,我都去支持!很多慕课网的小伙伴也都希望你继续开课啊,不管是免费的还是收费。 这么好的老师不能放过啊! 希望能多听多学老师的经验!哈哈!!!
> public Exposer exportSeckillUrl(long seckillId) { // 优化点:缓存优化:超时的基础上维护一致性 //1:访问redis Seckill seckill = redisDao.getSeckill(seckillId); if (seckill == null) { //2:访问数据库 seckill = seckillDao.queryById(seckillId); if (seckill == null) { return new Exposer(false,...