05 2020 档案
CustomTool
摘要:数组List深拷贝: public static <T> List<T> deepCopy(List<T> src) throws IOException, ClassNotFoundException { ByteArrayOutputStream byteArrayOutputStream = 阅读全文
posted @ 2020-05-21 14:04 kongieg 阅读(183) 评论(0) 推荐(0)
SpringBoot+Mybatis配置多数据源,分包方式
摘要:看了不少网上关于多数据源的配置,大致可分为两类,分包方式和通过切面方式; 样例已上传至github:https://github.com/dadachao/multids 第一个子项目ds01即时使用分包方式完成多数据源配置。 总结项目中出现的问题和解决办法: 数据库的连接信息: 连接信息是写在db 阅读全文
posted @ 2020-05-03 23:20 kongieg 阅读(887) 评论(0) 推荐(0)