tomcat - Configure Connection Pool with EclipseLink -
i working in project with:
jsf 2.1.2, eclipselink 2.4.1, sql server 2008 windows authentication , apache tomcat 7.0
i set connection , jndi , works fine.
there requierement, have configure connection pool because have 1 connection (because of win authentication), know best way configure connection pooling jpa? posible?
thanks in advance
if have 1 web application on tomcat can use internal eclipselink connection pool. (you might check this)
but if have several applications or need different connection pool should first disable eclipselink internal pool , setup datasource in tomcat , use tomcat connection pool (or other solution). finally, should modify persistence.xml point datasource.
Comments
Post a Comment