Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Why delete operation ignore the tenant discriminator?(Delete implementation regarding Single-Table Multitenancy)
Why delete operation ignore the tenant discriminator? [message #1805799] Wed, 24 April 2019 10:53
rina zhao is currently offline rina zhaoFriend
Messages: 1
Registered: April 2019
Junior Member
Hi Experts,
My project is on https://github.com/zhrm0110/mini-test-jpa-multitenant .
According to https://www.eclipse.org/eclipselink/documentation/2.7/concepts/data_access008.htm#BEIBAJBE
"The results of queries on the mapped tables are limited to the tenant discriminator value(s) provided as property values. This applies to all insert, update, and delete operations on the table."

However, when I try to perform an delete request, the actual SQL (Please see attachment logs) ignore the tenant discriminator value(s) ? which is different with select and update?

Thanks and best regards.
Rina
Previous Topic:Saving to array not working
Next Topic:unidirection @OneToOne+FetchType.LAZY not working
Goto Forum:
  


Current Time: Fri Jun 02 14:44:19 GMT 2023

Powered by FUDForum. Page generated in 0.02075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top