Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Multi-tenant using shared schema doc

Hi Guy,

I think the most frequent use case while using shared schema form of multi-tenancy would have the tenant id as part of database pk. With that in mind,
can you please elaborate a bit on:
  -An example of how mapped tenant id can be specified.
  -May be a corollary of above: How tenant id can be specified such that it is part of ID for the entity.

-What is our target functionality for this release for the use case where EMF is shared across tenants?
  The examples in current doc seems to indicate that we will at least require a separate server session per tenant for isolation

Thanks,
Mitesh

On 3/7/2011 1:17 PM, Shaun Smith wrote:
Guy,

A couple of items.  It isn't explicitly pointed out (but is there in the configuration)  that the "tenant id" property name is application definable.  EclipseLink defaults to a certain name but the name of the tenant id isn't particularly special in any way and as you show in an example there can be more than one.

Also, the tenant id value resolution is not spelled out.  EclipseLink should look in the EM properties, the EMF properties, and then in the Context if in an Java EE container.  That should be spelled out.
   
  Looking good,

    Shaun

On 07/03/2011 3:29 PM, Guy Pelletier wrote:
I have now updated the document after some initial feedback (notice the new link, the doc has moved)

http://wiki.eclipse.org/EclipseLink/Development/Indigo/Multi-Tenancy

Please review and provide any feedback.

Thanks,
Guy

On 17/02/2011 11:49 AM, Guy Pelletier wrote:
All,

This document provides a first cut outline to our multi-tenant using a shared schema solution aimed for the 2.3 release.

http://wiki.eclipse.org/EclipseLink/DesignDocs/Multi-Tenancy

Please review and provide any feedback.

Thanks,
Guy

_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

--
Oracle
Shaun Smith | Principal Product Manager
Phone: +1.905.502.3094 | Mobile: +1.416.558.6244
Oracle Fusion Middleware, TopLink
ORACLE Canada | 100 Milverton Drive, Mississauga, Ontario | L5R 4H1

Green
            Oracle Oracle is committed to developing practices and products that help protect the environment
_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top