openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rtselvan <>
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

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?

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message