上一页 1 2 3 4 5 6 7 8 9 10 ··· 37 下一页
摘要: 1.在建立数据表时,尽量不使用外键约束,而只是有外键的名,却无外键的实,即不在数据表之间建立外键,而是单纯的依靠人力去将数据表中的外键信息进行关联,这样可以减少数据库的内存消耗 2.规范:与数据库进行交互的mybatis,最好使用基于xml的SQL,好控制些, 不要使用基于注解的 3.后端反馈给前端 阅读全文
posted @ 2018-05-30 10:18 SkyeAngel 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 在搭建Springboot框架时,遇到一个很绝望的问题,连着搞了两天,把IDEA卸了两遍,maven卸了一遍,Tomcat差点也卸掉,就在准备放弃windows,转投Linux怀抱的时候,突然找到解决办法了,也是搞得头大, 显示的是maven冲突,但是实际上没有导包servlet-api.jar,把 阅读全文
posted @ 2018-05-30 10:04 SkyeAngel 阅读(877) 评论(0) 推荐(0) 编辑
摘要: 然后进行pom.xml文件的整合 然后创建如下结构 进行数据库连接,在文件application.properties进行配置 补充BlogApplication.java 然后就是实体类的创建 mapper接口的创建 Service层 Controller层 java.lang.NoSuchMet 阅读全文
posted @ 2018-05-28 23:15 SkyeAngel 阅读(972) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lycloud/article/details/24932961 1.在创建表时,将不需要重复的字段设置为unique,然后在插入时,使用insert ignore语句。 2.可以使用count(*) COUNT(*) 函数返回表中的记录数: http:/ 阅读全文
posted @ 2018-05-28 09:17 SkyeAngel 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Valid Palindrome II Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Example 2 阅读全文
posted @ 2018-05-25 08:56 SkyeAngel 阅读(100) 评论(0) 推荐(0) 编辑
摘要: *LeetCode--Add Binary *LeetCode--Add Two Numbers 阅读全文
posted @ 2018-05-24 21:47 SkyeAngel 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input stri 阅读全文
posted @ 2018-05-24 21:42 SkyeAngel 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Add Two Numbers 两数之和,本位和进位的求和 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order  阅读全文
posted @ 2018-05-24 16:49 SkyeAngel 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Add Binary 二进制加法 注意考虑本位和进位 Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only c 阅读全文
posted @ 2018-05-24 16:28 SkyeAngel 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Repeated Substring Pattern Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the su 阅读全文
posted @ 2018-05-23 23:01 SkyeAngel 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 37 下一页