c3p0连接池的使用

  • 引入c3p0的jar包
  • 在核心配置中添加一段配置:


    org.hibernate.connection.C3P0ConnectionProvider

    5

    20

120

3000

你可能感兴趣的:(c3p0连接池的使用)