Community
Participate
Working Groups
Provide a way to allow multiple application tenants to share the same schema using tenant identifying column(s).
Documentation of this feature can be found here. http://wiki.eclipse.org/EclipseLink/DesignDocs/Multi-Tenancy
Notice the new link: http://wiki.eclipse.org/EclipseLink/Development/Indigo/Multi-Tenancy
Created attachment 191830 [details] Part 1 - metadata changes Includes jpa metadata changes only (no core changes yet) - New annotations - New xml - Processing support for both - Schema version update - Annotation test model - XML test model - Some refactoring - Other minor clean up
Part 1 has been submitted. Reviewed by Chris Delahunt.
Created attachment 192032 [details] Part 1 - metadata changes update removing javax.persistence dependency from the new tenant discriminator column annotation.
Created attachment 192375 [details] Part 2 - core changes with jpa tests This is a milestone check in which allows front to back testing of this feature. Still some work to be done: validation, DDL generation and more testing and will come in a third patch.
Created attachment 192571 [details] Part 3 - Validation exceptions, defaulting, logging and DDL support
Created attachment 192586 [details] Part 4 - Property definition and public access
Changes have been submitted. Part 1 - reviewed by Chris Delahunt Part 2 - reviewed by Gordon Yorke Part 3 - reviewed by Tom Ware Part 4 - reviewed by Tom Ware
Created attachment 193872 [details] Part 5 - More testing and validation
Created attachment 194201 [details] Part 6 - DDL testing
All changes have been submitted. Marking this bug as resolved/fixed.
Created attachment 194759 [details] Part 7 - Added new query exception (when context property not set) Was re-using additional criteria exception which was confusing.
Created attachment 195968 [details] Part 8 - Moved multitenant XML element out of table up to entity level.
Part 8 submitted Verified by: Chris Delahunt Existing extended test xml updated and all extended tests continue to pass
Created attachment 196925 [details] Part 9 - More testing and fixes for DeleteAll queries
Created attachment 196981 [details] Part 9 - More testing and fixes for DeleteAll queries
Created attachment 196996 [details] Part 9 - More testing and fixes for DeleteAll queries
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink