08 2021 档案
摘要:查看表字段注释 Select a.attnum,(select description from pg_catalog.pg_description where objoid=a.attrelid and objsubid=a.attnum) as descript,a.attname,pg_cat
阅读全文
摘要:引入maven https://mvnrepository.com/search?q=poi <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version> </
阅读全文
摘要:1.UPDATE student1 a SET score = (SELECT b.score FROM student2 b WHERE b.name = a.name) 2.UPDATE student1 a,student2 b SET a.score=b.score WHERE a.name
阅读全文
摘要:前言 笔者之前成功安装Java也用了没什么问题,很久没动过了,最近突然要用上,却发现javac命令报错bash: java: command not found ,在网上搜了很多资料,重装了五六次也没能解决问题,早上突然有灵感尝试了一下,然后就解决了,特此记录下来,希望能给遇到同样问题的小伙伴们带去
阅读全文
摘要:public class txttest { /** * 读取txt文件的内容 * @param file 想要读取的文件对象 * @return 返回文件内容 */ public static String txt2String(File file){ StringBuilder result =
阅读全文
摘要:/Applications/IntelliJ IDEA.app/Contents/bin/idea.properties idea.cycle.buffer.size=1024修改为不限制大小或者其他大小 idea.cycle.buffer.size=disabled
阅读全文
摘要:fastjson地址 maven中央仓库: https://mvnrepository.com/artifact/com.alibaba/fastjson <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> <depend
阅读全文
摘要:核心问题:缺少.iml文件 在idea中点击Terminal,输入mvn idea:module 生成 项目名称.iml文件,即可解决问题 如果生成失败,提示Error parsing existing IML file什么的,直接进文件夹删掉.iml文件,重新生成,再不行就关掉idea,删掉.im
阅读全文