java - Internal pool and external pool usage -
i develop non-java ee application. here
for non-java ee applications, typically use internal connection pools. default, eclipselink sessions use internal connection pools.
besides don't configure connection pool in persistence.xml. in org.eclipse.persistence.core.log
see following:
trace | connection acquired connection pool [read]. trace | reconnecting external connection pool debug | select * test trace | connection released connection pool [read].
please, note reconnecting external connection pool
. why external? how explain it?
i found out problem. in order make eclipselink use internal pool must set in persistence.xml
<property name="eclipselink.connection-pool.force-internal-pool" value="true"/>
hope save time.
Comments
Post a Comment