摘要:
InputStream in = SimplePropertiesUtil.class.getClassLoader().getResourceAsStream(propertiesName); 这条语句已经运行过没有问题,但是有时会出现NPE,提示inStream parameter is nul 阅读全文
摘要:
https://stackoverflow.com/questions/67775360/springboot-insufficient-memory-for-the-java-runtime-environment SpringBoot insufficient memory for the Ja 阅读全文
摘要:
在使用SELECT查询时IN比OR的效率好。那么在Spring中如何使用IN()呢? 这是我原来的使用方式,用字符串拼接: StringBuilder buf = new StringBuilder("SELECT name FROM pos_user WHERE id IN ("); // ids 阅读全文