对象举例: class User { private String username; private List<Wife> wifes; } class Wife { } 1. 问题 封装出的List长度数据不正确 比如wifes数据应该有两条,但是查询出来只有一条 2. 原因 由于使用Mybat ...
分类:
其他好文 时间:
2021-04-22 15:52:34
阅读次数:
0
Linux系统调用表 记录下来,免得到处找 32位 int 0x80 %eax Name Source %ebx %ecx %edx %esx %edi 1 sys_exit kernel/exit.c int - - - - 2 sys_fork arch/i386/kernel/process. ...
分类:
系统相关 时间:
2021-04-22 15:36:36
阅读次数:
0
https://blog.csdn.net/qq_29846663/article/details/73498853 查看email % cat ~/.gitconfig[user] email = a@bc.com[credential] helper = store[http] sslverif ...
分类:
其他好文 时间:
2021-04-22 15:36:18
阅读次数:
0
1. 在项目目录下执行go mod init 项目名 2. 在文件中import 导入gin 3. 在项目目录下执行go mod tidy 来自 <https://www.bilibili.com/video/BV1gJ411p7xC?p=4&spm_id_from=pageDriver> gola ...
分类:
其他好文 时间:
2021-04-22 15:34:29
阅读次数:
0
一、问题报错 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint xxxx and the end yyyy. 因MySQL上存储的应用数据并没有多大,mysql下多张 ...
分类:
数据库 时间:
2021-04-22 15:22:00
阅读次数:
0
create user hnrh identified by hnrh123; Oracle 删除用户时出现异常ora-01922: CASCADE must bu specified to drop 用户名 Oracle 删除用户时出现错误ora-01922: CASCADE must bu sp ...
分类:
数据库 时间:
2021-04-21 12:53:00
阅读次数:
0
1. nginx.cof配置文件说明 # 运行用户 user nobody; # 启动进程,通常设置成和cpu的数量相等 worker_processes 1; # 全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log n ...
分类:
其他好文 时间:
2021-04-21 12:37:55
阅读次数:
0
有时我们有一个带着文件名的路径如“/home/user/file.py” 我们不要“/file.py”,只要“/home/user”这个路径。 我想到的办法 1.用.rfind()和.replace() 注意:.rfind("/")是指从字符串最后开始查找找到第一个“/”的位置,也就是该字符串最后一 ...
分类:
编程语言 时间:
2021-04-21 12:30:42
阅读次数:
0
1、yml文件 #spring datasource spring.datasource.url=jdbc:mysql:///db_notice?serverTimezone=GMT%2B8&charactterEncoding=uft8 spring.datasource.username=roo ...
分类:
编程语言 时间:
2021-04-21 12:14:39
阅读次数:
0
查询你想要的表名:select table_name,tablespace_name,status,temporary from user_tables where table_name like '%tab_name%';tab_name 为要查表名的其中一部分。如:你要查表名中有order的表名 ...
分类:
数据库 时间:
2021-04-21 12:08:25
阅读次数:
0