Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA Partitioning and Spring
JPA Partitioning and Spring [message #788540] Wed, 01 February 2012 23:33
Mike Key is currently offline Mike KeyFriend
Messages: 6
Registered: February 2012
Junior Member
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: Thu Aug 13 07:03:13 GMT 2020

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

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

Back to the top