13. 整合MyBatis 13.1 步骤 1、导入相关jar包 junit <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> myba ...
分类:
编程语言 时间:
2020-09-17 21:18:07
阅读次数:
93
添加依赖: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x ...
分类:
其他好文 时间:
2020-09-17 21:15:05
阅读次数:
30
在开发过程中遇到一个比较ip大小的情况,并且遇到了把二维数组转为一维数组的情况,翻下资料,做下总结。 方法一:转字符串法 该例子中,tempArr是一个多维数组,使用join将其转为字符串,在使用split方法转换为一维数组。 缺点: 如果数组中的各个项是number,将不可避免的转为字符串。 /* ...
分类:
编程语言 时间:
2020-09-17 21:01:40
阅读次数:
41
1、Redis的简单介绍 1)Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 与范围 ...
分类:
编程语言 时间:
2020-09-17 20:51:40
阅读次数:
33
描边 首先的想法就是俩个textview 这样是不是一下子就理解了 感觉很简单实现了? 1.在res下的values里面的colors.xml 新增一个描边颜色 我用的是白色 <?xml version="1.0" encoding="utf-8"?> <resources> <color name ...
分类:
移动开发 时间:
2020-09-17 20:47:31
阅读次数:
39
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:
编程语言 时间:
2020-09-17 20:29:16
阅读次数:
30
一个分页查询set statistics time on; -- 分页查询(通用型) select top pageSize * from (select row_number() over(order by sno asc) as rownumber,* from student) temp_ro ...
分类:
Web程序 时间:
2020-09-17 20:00:44
阅读次数:
39
Usage Usage: python sqlmap.py [options] Options: -h, --help Show basic help message and exit -hh Show advanced help message and exit --version Show pr ...
分类:
数据库 时间:
2020-09-17 19:59:29
阅读次数:
36
--1)fetch的区别:--使用fetch cur 和 fetch next from cur 一样,因为NEXT 是 FETCH 的默认选项. --2)cursor和refcursor的区别:--静态游标,不能修改里面的语句--动态游标,可以多次open和close,指定不同的SQL--隐式游标 ...
分类:
数据库 时间:
2020-09-17 19:48:20
阅读次数:
52
9 常用命令? mysql> select database(); 查看当前使用的是哪个数据库。 + + | database() | + + | mydatabase | + + mysql> select version();查看mysql的版本号。 + + | version() | + + ...
分类:
其他好文 时间:
2020-09-17 19:48:03
阅读次数:
32