java - EclipseLink Connection Pooling handled in EntityManagerFactory or EntityManager -


we have osgi enviroment, have several bundles own persistance units , own jpa etities. in every bundle create own entitymanagerfactory, leading problem possible habve multiple connection pools. doing @ moment make osgi bundle provides single instance of entitymanagerfactory used in our bundles.

where eclipselink handle connection pooling? in entitymanagerfactory or in every entitymanager created? enough use same factory have single connection pool bundles?

is there possibility monitor eclipselink connection pool(active connections, new connection created)?

thanks


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -