openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rtselvan <rtsel...@gmail.com>
Subject overriding datasource in the persistent unit
Date Sat, 07 Nov 2009 01:10:53 GMT

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.

Mime
View raw message