|
|
Re: @Multitenant guidelines [message #896205 is a reply to message #895956] |
Tue, 17 July 2012 14:51 |
Andriy Zhdanov Messages: 6 Registered: June 2012 |
Junior Member |
|
|
Hi Chris,
Thank you for your answer, it is very clear now. Strange I did not find mysports example myself, and those pages were not so clear before.
I have further question, though, if you don't mind.
Regarding 'Multitnant' doc, 1st item in the thread, about 'Persistence Usage for Multiple Tenants'
Do you have any idea, how @PersistenceUnit and/or @PersistenceContext container managed injection can be used with multi-tenancy?
I understand one can do the following in managed bean:
@PersistenceContext(unitName = "myPU")
EntityManager em;
Though, it's not possible to make it variable.
Thank you.
|
|
|
Powered by
FUDForum. Page generated in 0.05257 seconds