eclipselink connection pooling

前端 未结 4 1568
刺人心
刺人心 2020-12-15 06:41

If connection pooling is not defined in the persistence.xml for eclipse link, what is the default behavior?

Will it open and close a JDBC connection for every trans

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-15 07:24

    Just wanted to provide the code source for James' answer above: You can see that a default connection pool is created in the constructors of ServerSession, using the init/min/max defaults defined in ConnectionPool, and optionally overridden/adjusted by the developer via properties in EntityManagerSetupImpl.

提交回复
热议问题