Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » using a sequence connection pool in eclipselink
icon5.gif  using a sequence connection pool in eclipselink [message #749617] Tue, 25 October 2011 06:30
pop prem is currently offline pop prem
Messages: 20
Registered: June 2010
Junior Member
I'm using eclipselink and spring in tomcat, mysql enviornment.

I want to use a sequence connection pool, so that sequence allocations are done outside of the running transactions with mail pool. But i'm not sure how to configure a sequence connection pool.

Please see this post:http://www.eclipse.org/forums/index.php/m/748533/

Is there a property for that which i can add in persistence.xml? I saw this link:http://www.eclipse.org/eclipselink/api/2.3/org/eclipse/persistence/config/PersistenceUnitProperties.html#CONNECTION_POOL_SEQUENCE. I want to configure this pool through spring-config or persistence.xml since my entitymanager is created by Spring (I have used annotation configurations).

How can i do this?

Thanks.
Previous Topic:SEQUENCE table / row lock issue
Next Topic:using a sequence connection pool in eclipselink
Goto Forum:
  


Current Time: Thu Apr 17 14:39:43 EDT 2014

Powered by FUDForum. Page generated in 0.01484 seconds