JPA 第1章1.ORM概述[了解] ORM(Object-Relational Mapping) 表示对象关系映射。在面向对象的软件开发中,通过ORM,就可以把对象映射到关系型数据库中。只要有一套程序能够做到建立对象与数据库的关联,操作对象就可以直接操作数据库数据,就可以说这套程序实现了ORM对象 ...
分类:
其他好文 时间:
2020-06-26 14:35:48
阅读次数:
144
CentOS7 防火墙相关命令 查看防火墙状态 firewall-cmd --state 停止firewall systemctl stop firewalld.service 开启firewall systemctl stop firewalld.service 禁止firewall 开机启动 s ...
分类:
其他好文 时间:
2020-06-26 12:34:39
阅读次数:
43
Sudoku Solver (H) 题目 Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: E ...
分类:
其他好文 时间:
2020-06-26 11:02:48
阅读次数:
41
Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: Input: [1,1,2] Output: [ [1,1,2], [1,2, ...
分类:
其他好文 时间:
2020-06-25 23:47:18
阅读次数:
92
给定一个以字符串表示的非负整数 num,移除这个数中的 k 位数字,使得剩下的数字最小。 注意: num 的长度小于 10002 且 ≥ k。num 不会包含任何前导零。示例 1 : 输入: num = "1432219", k = 3输出: "1219"解释: 移除掉三个数字 4, 3, 和 2 ...
分类:
其他好文 时间:
2020-06-25 23:44:08
阅读次数:
51
Docker在Linux上下载与安装配置 官方文档: https://docs.docker.com/install/linux/docker-ce/centos/#set-up-the-repository 1、删除旧版本的docker,防止有残留 sudo yum remove docker \ ...
分类:
系统相关 时间:
2020-06-25 19:27:32
阅读次数:
190
1.删去数据 删去数据是指在C#的泛型列表List中,将指定方位的值删去掉,删去后,列表的索引会发生变化。如将索引值2删去掉,则后面的索引值3就会前移,代替索引值2的方位。 C#中,在泛型列表List中删去数据,能够运用如下3个办法来完成: (1).Remove()办法:依据指定的值来删去。 (2) ...
分类:
其他好文 时间:
2020-06-25 17:36:41
阅读次数:
80
Iterator对象在foreach循环的时候只能使用自己的remove/add方法,如果使用了集合的remove/add方法或者其他线程并发时修改了集合的内容,就属于fail-fast机制,即是一个错误,但是该错误会尽最大可能地抛出ConcurrentModificationException异常 ...
分类:
其他好文 时间:
2020-06-25 15:41:03
阅读次数:
60
首先 win+x -> 设置 -> 更新和安全 -> 开发者选项 -> 开发者模式 然后 win+r -> 输入control -> 程序 -> 启用或关闭Windows功能 -> 适用于 Linux 的 Windows 子系统 登陆:https://docs.microsoft.com/en-us ...
分类:
系统相关 时间:
2020-06-25 13:57:18
阅读次数:
179
cmliu 1,演示环境:windows 10企业版+Visual Studio 2019;.NET Core3.1;xUnit 2.4.1;.NET Standard 2.0.3 2,日期:2020/03/20 3,场景描述:测试调用目标微服务的暴露的某个模块的接口;需要按顺序执行创建表,查询表, ...
分类:
其他好文 时间:
2020-06-25 13:47:04
阅读次数:
56