scala的数据库连接池,基于mysql import java.util.concurrent.ConcurrentHashMap import com.jolbox.bonecp.{ BoneCPConfig, BoneCP } import java.util.ResourceBundle import java.util.LinkedList import java.sql.DriverManager import java.sql.Connection /** * 数据库连接池工具类…