Hi guys,

I have one question. Currently I am developing a multitenant application
which each tenant has its own database schema. The schema in fact is a
Oracle DB schema.

So each tenant may need its own DataSource because each tenant will have
its own login and password.

The problem is that we need to add dynamically new tenants which implies
defining new datasources on demand. Is this possible in TomEE? I am
thinking in doing using a DynamicRouter to dynamically choose which
DataSource to use depending on the tenant that it is making the request,.

Thank you so much.
Alex.

Reply via email to