spring - Tomcat 7 connection pool / JPA : Getting a specific connection -



spring - Tomcat 7 connection pool / JPA : Getting a specific connection -

i using jpa tomcat 7 connection pool.

how possible specify entitymanager injected (by spring in case) info access object should utilize specific connection pool, not 1 taken @ random?

in other words, requirement initialize specific connections in pool (so these connections see database pre-configured in various states), 'label' these connections , entitymanager / transaction utilize connection specific label.

i know oracle ucp offers similar functionality, have had issues want same thing tomcat pool. !

spring tomcat jpa jpa-2.0

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -