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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -