总遇到一个报错: 1 Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): top.bigking ...
分类:
其他好文 时间:
2019-12-29 16:42:27
阅读次数:
103
近日,一开发说只要切换到mysql,执行到某一条查询就会发生SQLException Table definition has changed, please retry transaction,oracle就不会。换成另外一个mapper也不会有问题。同时select * from innodb_ ...
分类:
数据库 时间:
2019-12-29 16:29:35
阅读次数:
127
Problem Statement Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 ...
分类:
其他好文 时间:
2019-12-29 11:21:04
阅读次数:
66
前一阵系统的学习了一下MySQL,也有一些实际操作经验,偶然看到一篇和MySQL相关的面试文章,发现其中的一些问题自己也回答不好,虽然知识点大部分都知道,但是无法将知识串联起来因此决定搞一个MySQL灵魂100问,试着用回答问题的方式,让自己对知识点的理解更加深入一点主要针对的是开发人员需要知道的一些MySQL的知识点,主要包括索引,事务,优化等方面,以在面试中高频的问句形式给出答案索引相关什么是
分类:
数据库 时间:
2019-12-27 11:15:51
阅读次数:
76
步骤:1)MySQL的驱动2)Connection 重量级的获取过程。可以使用POOL优化3)Statement 执行的类4)ResultSet 结果的封装5)Close 在pom中添加scala、hadoop、Mysql驱动依赖包: <properties> <scala.version>2.11 ...
分类:
数据库 时间:
2019-12-26 19:09:52
阅读次数:
97
今天遇到mybatis-puls的报错Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 排查方法如下: 1、mapper接口和mapper.xml是否在同一个包(pac ...
分类:
编程语言 时间:
2019-12-26 13:23:12
阅读次数:
65
前些日子,阿里妹(妹子出题也这么难)发表了一篇文章《悬赏征集!5 道题征集代码界前 3% 的超级王者》——看到这个标题,我内心非常非常激动,因为终于可以证明自己技术很牛逼了。 但遗憾的是,凭借 8 年的 Java 开发经验,我发现这五道题自己全解错了!惨痛的教训再次证明,我是那被秒杀的 97% 的工 ...
分类:
编程语言 时间:
2019-12-26 09:47:55
阅读次数:
81
Problem Statement Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. Example: Assu ...
分类:
其他好文 时间:
2019-12-26 09:31:42
阅读次数:
87
--查看数据库中表的语句 SELECT s2.dbid , DB_NAME(s2.dbid) AS [数据库名] , --s1.sql_handle , ( SELECT TOP 1 SUBSTRING(s2.text, statement_start_offset / 2 + 1, ... ...
分类:
数据库 时间:
2019-12-25 23:56:33
阅读次数:
149
SELECT TOP 30 [Total Cost] = ROUND(avg_total_user_cost * avg_user_impact * (user_seeks + user_scans),0) , avg_user_impact , TableName = statement , [E ...
分类:
数据库 时间:
2019-12-25 20:26:38
阅读次数:
274