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