摘要: 首先看一个例子: package BigDecimalDemo; public class Demo { public static void main(String[] args) { double d1 = 0.05; double d2 = 0.02; System.out.println(d 阅读全文
posted @ 2021-12-10 21:08 一首简单的歌 阅读(360) 评论(0) 推荐(0)
摘要: 获取数据库连接首先从getConnection开始: DruidDataSource.class @Override public DruidPooledConnection getConnection() throws SQLException { return getConnection(max 阅读全文
posted @ 2021-12-10 20:46 一首简单的歌 阅读(316) 评论(0) 推荐(0)