|Eclipselink, JavaSE and multiple JDBC datastores [message #559292]
||Thu, 16 September 2010 05:52
| Andre Rothe
Registered: September 2010
I'm looking for an example to connect multiple datastores from a JavaSE application using EclipseLink. I have created some code, but if I close the EntityManager of one persistence unit, I cannot longer access the other.
I use a map of properties for every EntityManagerFactory (with different unit names), so I would expect to have separate EntityManager given by separate factories. But it doesn't work.
Powered by FUDForum
. Page generated in 0.02199 seconds