eclipselink connection pooling

前端 未结 4 1573
刺人心
刺人心 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:15

    The default connection pooling for EclipseLink when not using a data source is a pool of min/max 32 connections, with an initial of 1 connections. So each transaction will use a pooled connection, and not connect/disconnect.

提交回复
热议问题