java - Is the connection Pool configuration kept outside JPA Context? -
hello extracting connection object eclipselink context calling: connection con = entitymanager.unwrap(connection.class);
i responsible releasing connection in order comeback pool need know if extracted connection supposed keep original configuration set eclipselink mean number of connections, maximum number of connections , on..if once returned eclipselink supposed keep same performance working normally..
i need know cause maybe experience of can me in choosing if getting connection in way keep performance eclipselink when working native jpa, in advance..
you can unwrap connection in scope of transaction. same connection entitymanager bound (from pool). must not release connection, eclipselink release when transaction ends.
so, clear, not responsible releasing connection.
Comments
Post a Comment