今天做了个导出excel表的功能。大概代码如下: ouputStream = response.getOutputStream(); wb.write(ouputStream); ouputStream.flush(); ouputStream.close(); 1234发现报错 java.lang ...
分类:
编程语言 时间:
2019-06-25 13:12:54
阅读次数:
113
准备测试数据: 测试1: 上面操作执行后,使用SHOW ENGINE INNODB STATUS查看锁信息 上面事务加两个锁: 1、表上加意向修改锁(IX)。 2、在新插入的记录上加行锁(RECORD LOCKS ..lock_mode X locks rec but not gap) 测试2: 上 ...
分类:
数据库 时间:
2019-06-20 17:36:36
阅读次数:
189
为了解决修改关键或者基础数据导致项目出现问题,并解决备份文件过多的问题。 ...
分类:
编程语言 时间:
2019-06-14 22:18:31
阅读次数:
154
static void recordInsertList(Args _args) { /*The RecordInsertList class allows to insert multiple records in to database. new() - Creates a new object ...
分类:
数据库 时间:
2019-06-09 12:56:17
阅读次数:
127
用Tomcat运行项目报错: Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedLi ...
分类:
移动开发 时间:
2019-06-08 17:39:40
阅读次数:
648
条件判断 -d: 判断文件是否存在并是否为目录 -e:判断文件是否存在 -f:判断文件是否存在并是否为普通文件 文件1 -nt 文件2 :判断文件1是否比文件2新 文件1 -ot 文件2 :判断文件1是否比文件2旧 文件1 -ef 文件2 :判断文件1和文件2 inode号是否一致,判断是不是同一个... ...
分类:
其他好文 时间:
2019-06-05 22:08:12
阅读次数:
117
一、在列表之间移动元素 假设有一个列表,里面存放的是网站新注册但没有验证的用户,验证这些用户后,如何将它们移动到另一个已验证用户列表中呢? 其中一种方法是使用while循环,在验证用户的同时,将其从未验证的用户列表中移除,将之加入到已验证用户列表中,代码类似于这样: console: 解释:我们首先 ...
分类:
其他好文 时间:
2019-06-02 01:47:24
阅读次数:
274
There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefu ...
分类:
移动开发 时间:
2019-06-01 21:30:38
阅读次数:
128
一、系统版本 cmake version: 3.5.2 系统版本: Ubuntun 16.04 cmake docment: 3.14.4 最后更新: 2019 05 31 二、指令说明 主要用于提供项目的名称、版本、使用编译语言等信息 注意: 在当前系统版本下面,实际上 Project 并不支持 ...
分类:
其他好文 时间:
2019-05-31 23:52:50
阅读次数:
5185
[wj@master ~]$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsaGenerating public/private dsa key pair.Your identification has been saved in /home/wj/.ssh/id_d ...
分类:
其他好文 时间:
2019-05-31 19:32:33
阅读次数:
89