摘要: 1. 异常上抛,原则上不吞异常,除非你明确吞异常的业务用途 2. IO操作一定要用try-resource public static SqlSessionFactory initSqlSessionFactory() { String resource = RESOURCE; try (Input 阅读全文
posted @ 2021-04-20 14:17 hulian425 阅读(125) 评论(0) 推荐(0) 编辑