Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » JPA Partitioning and Spring
JPA Partitioning and Spring [message #788540] Wed, 01 February 2012 18:33
Eclipse UserFriend
I am interested in using ValuePartioning with Eclipselink 2.3.2. I have a couple of questions that seem somewhat unclear, the first may answer the second by default.

1) Is it possible to use partitioning with Spring? I configure my EclipseLink via Spring's EclipseLinkJpaVendorAdapter and my entity manager (for now) with LocalContainerEntityManagerFactoryBean. This appears to only allow for a single data source (which currently is a DBCP connection pool). It seems unclear to me how I could define multiple pools for partitioning using these classes. For example I can only set one data source in my entity manager from here.

2) I assume if my first question is possible, then I can use an external connection pool (eg. C3P0 or DBCP) to configure as my data sources, even though the property names for each node suggest they are internal EclipseLink pools?

Thanks for any insight here, much appreciated in advance.

Previous Topic:Don't get programmatical cache invalidation to work [JPA]
Next Topic:Custom MetadataSource and Dynamic Weaving
Goto Forum:
  


Current Time: Sat Jul 05 16:37:01 EDT 2025

Powered by FUDForum. Page generated in 0.14900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top