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

How can i do this?

Thanks.