| Summary: | Add new 'includeCriteria' flag to Multitenant metadata | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Guy Pelletier <guy.pelletier> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | douglas.clarke, eclipselink.orm-inbox | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Guy Pelletier
Created attachment 201741 [details]
Proposed changes - trunk
Created attachment 201742 [details]
Proposed changes - 2.3.1 stream
Note: only the core changes are being added to the 2.3.1 stream and not the new API. Users can configure through the use of a customizer.
Changes have been submitted. Verified by: Tom Ware Tests: N/A. Tested manually and with the JPA VPD example. Comments om latest patch: 1. Comments on the INTERNAL API should describe similar information to what is in @Multitenant or should have a reference to the description. 2. The reference to Oracle VPD should be more generic stating something like: Database solution (i.e. Oracle VPD) or additional critera added by the application. Comments have been updated.
/**
* ADVANCED:
* Boolean used to indicate if the database requires the tenant criteria to
* be added to the SELECT, UPDATE, and DELETE queries. By default this is
* done but when set to false the queries will not be modified and it will
* be up to the application or database to ensure that the correct criteria
* is applied to all queries.
*
* @see org.eclipse.persistence.annotations.Multitenant
*/
public void setIncludeTenantCriteria(boolean includeTenantCriteria) {
this.includeTenantCriteria = includeTenantCriteria;
}
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |