1、当同一个xml映射文件内存在两个相同的id(即两个sql语句的id相同)时会报此错 解决:查询sql语句的id值修改 2、在mybatis的配置文件mybatis.xml内使用了<mapper/>标签加载xxxMapper.xml的映射文件报错,因为如果xxxMapper.xml与namespa ...
分类:
其他好文 时间:
2020-06-28 14:54:40
阅读次数:
108
link referenct to @617280219 Sort and group edges by weight. In each step we process one group of edges Discard the edges whose ends are already conne ...
分类:
其他好文 时间:
2020-06-28 09:37:19
阅读次数:
70
POM( Project Object Model,项目对象模型 ) 是 Maven 工程的基本工作单元,是一个XML文件,包含了项目的基本信息,用于描述项目如何构建,声明项目依赖,等等。 类比:DOM(Document Object Model,文档对象模型) pom.xml 对于 Maven 工 ...
分类:
其他好文 时间:
2020-06-27 16:09:12
阅读次数:
49
PHP封装协议 PHP有很多内置URL风格的封装协议,这类协议fopen(),copy(),file_exists(),filesize()等文件系统函数所提供的功能类似。常见协议如下: file:// 访问本地文件系统 http:// 访问HTTP(s)网址 ftp:// 访问FTP(s)URLs ...
分类:
Web程序 时间:
2020-06-27 12:03:11
阅读次数:
101
In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (wi ...
分类:
其他好文 时间:
2020-06-27 09:35:14
阅读次数:
75
Django日志配置 django中的log需要在settings.py中配置 import time LOGGING_DIR = os.path.join(BASE_DIR, "logs") # LOGGING_DIR 日志文件存放目录 if not os.path.exists(LOGGING_ ...
分类:
其他好文 时间:
2020-06-26 20:21:31
阅读次数:
55
MySQL02:数据库操作 基于MySQL5.7.19版本 数据库操作 结构化查询语句分类 数据库操作 命令行操作数据库 创建数据库 : create database [if not exists] 数据库名; 删除数据库 : drop database [if exists] 数据库名; 查看数 ...
分类:
数据库 时间:
2020-06-26 20:14:14
阅读次数:
56
1 BOOL IsAlreadyRun() 2 3 { 4 5 HANDLE hMutex = NULL; 6 hMutex = ::CreateMutex(NULL,FALSE,"Application"); 7 if(hMutex) 8 { 9 if(ERROR_ALREADY_EXIST==: ...
1. order by,sort by,distribute by,cluster by的区别? 2. 聚合函数是否可以写在order by后面,为什么? 需求催生技术进步 一、课前准备 二、课堂主题 三、课堂目标 1. 掌握hive表的数据压缩和文件存储格式 2. 掌握hive的JDBC代码操作 ...
分类:
其他好文 时间:
2020-06-26 18:42:15
阅读次数:
58
DDL数据定义 4.1 创建数据库 CREATE DATABASE [IF NOT EXISTS] database_name [COMMENT database_comment] [LOCATION hdfs_path] [WITH DBPROPERTIES (property_name=prop ...
分类:
其他好文 时间:
2020-06-26 16:46:06
阅读次数:
72