摘要: 一、联合主键类JPA规范 1、必须提供一个public的无参数构造函数; 2、必须实现序列化接口; 3、必须重写hashCode()和equals()这两个方法。这两个方法应该采用复合主键的字段作为判断这个对象是否相等的; 4、联合主键类的类名结尾一般要加上PK两个字母代表一个主键类,不是要求而是一 阅读全文
posted @ 2020-10-05 11:13 遥~ 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 一、whole 二、background 阅读全文
posted @ 2020-10-04 18:08 遥~ 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 一、static route 二、dynamic route 阅读全文
posted @ 2020-10-04 16:15 遥~ 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1 //缩短到某长度,用...结尾.其实就是(substring(str, 0, max-3) + "...") 2 //public static String abbreviate(String str,int maxWidth) 3 StringUtils.abbreviate("abcdef 阅读全文
posted @ 2020-10-04 11:29 遥~ 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 1、yum install gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel -y 2、 wget http://nginx.org/download/nginx-1.18.0.tar.gz && tar zxvf nginx 阅读全文
posted @ 2020-09-26 10:28 遥~ 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1.调出任务管理器 调出任务管理器的方法可以通过按住键盘上的“Ctrl+Alt+Del”键实现,也可以在Windows10系统底部的任务栏空白处右击,然后在弹出的菜单中选择“任务管理器”。 2.关闭指定程序任务 在打开的任务管理器中找到“搜狗输入法 Metro代理程序”,右击关闭。 在任务管理器中关 阅读全文
posted @ 2020-09-19 22:43 遥~ 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: 一、rancher 1、docker run -di --name=rancher --restart=always -p 9090:8080 rancher/server 2、usage (1)environment (2)registry (3)host closed after downloa 阅读全文
posted @ 2020-09-02 19:53 遥~ 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 一、command (1)The command install:install is actually a goal on the maven-install-plugin. This is different than the install maven lifecycle phase. (2) 阅读全文
posted @ 2020-08-30 21:08 遥~ 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 一、gogs Installation 1、docker run -di --name=gogs -p 10022:22 -p 3000:3000 -v /var/gogsdata:/data gogs/gogs 2、http://192.168.1.200:3000 二、jdk Installat 阅读全文
posted @ 2020-08-29 20:31 遥~ 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1 ai=application/postscript 2 aif=audio/x-aiff 3 aifc=audio/x-aiff 4 aiff=audio/x-aiff 5 apk=application/vnd.android.package-archive 6 asc=text/plain 阅读全文
posted @ 2020-08-23 22:35 遥~ 阅读(254) 评论(0) 推荐(0) 编辑