JPA Partitioning and Spring [message #788540] |
Wed, 01 February 2012 23:33 |
Mike Key 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.
|
|
|
Powered by
FUDForum. Page generated in 0.05288 seconds