摘要: 创建多线程时不推荐使用Executors来创建线程次,推荐手动创建线程池(ThreadPoolExecytor),源码如下: import com.google.common.util.concurrent.ThreadFactoryBuilder; import org.springframewo 阅读全文
posted @ 2020-01-17 11:03 汤姆汀 阅读(186) 评论(0) 推荐(0) 编辑
摘要: /root/bea/user_projects/domains/base_domain/servers/AdminServer/tmp/ /root/bea/user_projects/domains/base_domain/servers/AdminServer/cache/ /root/bea/ 阅读全文
posted @ 2019-12-25 11:02 汤姆汀 阅读(617) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/fly_zxy/article/details/94012898 阅读全文
posted @ 2019-12-23 09:01 汤姆汀 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 可以执行以下命令alter table 表名 enable row movement; --开启表行移动flashback table 表名 to timestamp to_timestamp('20130813 14:00:00','yyyymmdd hh24:mi:ss'); 阅读全文
posted @ 2019-11-04 16:25 汤姆汀 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 1.首先我们的IDEA文件编码一般都修改为utf-8(setting-->file encodings >Global Encoding 和 Project Encoding 都设置为UTF-8) 2.对于 Properties 文件,重要属性 Transparent native-to-ascii 阅读全文
posted @ 2019-10-28 15:49 汤姆汀 阅读(2007) 评论(0) 推荐(0) 编辑
摘要: 第一种方式, 解决maven打包时,会编译特定文件导致文件不可用maven打包时,过滤不编译文件类型<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> 阅读全文
posted @ 2019-09-09 15:52 汤姆汀 阅读(3342) 评论(0) 推荐(0) 编辑
摘要: import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream; 阅读全文
posted @ 2019-09-06 17:30 汤姆汀 阅读(2886) 评论(0) 推荐(0) 编辑
摘要: Java代码 @Path("/file") public class FileService { private static final String FILE_PATH = "c:\\file.log"; @GET @Path("/get") @Produces("text/plain") pu 阅读全文
posted @ 2019-08-30 21:37 汤姆汀 阅读(433) 评论(0) 推荐(0) 编辑
摘要: POI操作Excel时偶尔会出现Cannot get a text value from a numeric cell的异常错误。异常原因:Excel数据Cell有不同的类型,当我们试图从一个数字类型的Cell读取出一个字符串并写入数据库时,就会出现Cannot get a text value f 阅读全文
posted @ 2019-08-22 16:00 汤姆汀 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-09 16:46 汤姆汀 阅读(580) 评论(0) 推荐(0) 编辑