This content has been marked as final.
Show 1 reply
-
1. Re: How to use Hibernate Multi Tenancy in AS7 EE enviroment
tomeicher May 17, 2013 7:08 AM (in response to tomeicher)Okay, so it basically works as outlined above.
Now the CurrentTenantIdentifierResolver I provided is not tied in any way into the EE server.
I currently have (for other purposes) a @SessionScoped bean (say, MyContext) in my Wicket -> EJB integration.
If my CurrentTenantIdentifierResolver implementation had access the MyContext, it really could decide on the right tenant identifier for the current request's user...
Any ideas ? Cheers, Tom.