[eclipselink-users] Using Spring's AbstractRoutingDataSource with EL
We are using Spring's AbstractRoutingDataSource successfully to proxy some services to different databases (with the same schema, only different data/customers).
Does EL provide a similar way to use the same @Entity-mapped model against different DataSources? I'm not interested in named PUs as the routing should be done at runtime, dynamically, based on some ThreadLocal the application controls (ie. sets/removes at the start/end of a HTTP-request).
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963