上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: mybatis3系列文章目录链接 Mysql设置某字段唯一, 两种方式,1给字段设置unique关键字,2增加只包含一个字段的唯一索引 1.建表时加上唯一性约束 创建sql表时,用关键字unique给字段上添加唯一性约束,比如字段username的处理: CREATE TABLE `t_user` 阅读全文
posted @ 2018-08-09 10:05 MoreJewels 阅读(47387) 评论(0) 推荐(0)
摘要: 在tomcat中模块化部署项目 阅读全文
posted @ 2018-08-07 11:05 MoreJewels 阅读(222) 评论(0) 推荐(0)
摘要: 1.关闭balidation 2.取消Eclipse拼写检查 3.关闭无用启动项,降低内存占用 4. 阅读全文
posted @ 2018-07-10 16:19 MoreJewels 阅读(130) 评论(0) 推荐(0)
摘要: akka 服务的搭建 阅读全文
posted @ 2018-07-09 16:04 MoreJewels 阅读(204) 评论(0) 推荐(0)
摘要: js函数中声明变量有多种方式:var,let,this 见如下代码段 那么,这三种方式有什么区别呢? 区别在于作用域不同。 let 声明的变量作用域为某个代码块。而代码块的长度可大可小。 当按声明2的方式声明一个变量时,该变量的作用范围于为整个function语句。 当按声明4方式声明一个变量时,该 阅读全文
posted @ 2018-07-05 15:19 MoreJewels 阅读(210) 评论(0) 推荐(0)
摘要: 1、空白 // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace 阅读全文
posted @ 2018-07-05 15:18 MoreJewels 阅读(4170) 评论(0) 推荐(0)
摘要: 1.关闭所有eclipse校验 windows->perference->validation disable all 2.Access restriction: The constructor 'BASE64Decoder()' is not API (restriction on require 阅读全文
posted @ 2018-07-01 09:23 MoreJewels 阅读(447) 评论(0) 推荐(0)
摘要: 程序员基本操作指南1- 阅读全文
posted @ 2018-06-30 10:32 MoreJewels 阅读(226) 评论(0) 推荐(0)
摘要: mybatis3系列文章目录链接 mybatis能够自动生成sql语句,也能够添加自定义sql语句 使用mybatis generator生成XX.java,XXExample.java,XXmapper.java,XXmapper.xml四个数据库表映射文件, 一、Example实例解析 myba 阅读全文
posted @ 2018-06-27 17:02 MoreJewels 阅读(5886) 评论(0) 推荐(0)
摘要: mybatis3系列文章目录链接 有时候在try catch中需要区分具体的那个异常,下面一些截图 sqlexception中: catch(sqlexception ex) ex.Number=2627 主键重复 ex.Number=-2 timeout ex.Number=17 sql serv 阅读全文
posted @ 2018-06-26 17:57 MoreJewels 阅读(1076) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页