My application is a multi-tenant app, I would need to override the datasource
at runtime when creating the entitymanager factory based on the client
code/name.
Does OpenJPA support that? Hibernate supports it and I have tested it
successfully but I would like to use OpenJPA due to the light weight nature
of it.
Any ideas?
Thanks
/selvan
--
View this message in context: http://n2.nabble.com/overriding-datasource-in-the-persistent-unit-tp3962382p3962382.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
|