Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4403 (
https://hibernate.atlassian.net/browse/HSEARCH-4403?atlOrigin=eyJpIjoiYTR...
)
Re: Support ORM's discriminator-based multi-tenancy in the outbox-polling module (
https://hibernate.atlassian.net/browse/HSEARCH-4403?atlOrigin=eyJpIjoiYTR...
)
So it would seem we would be able to add a tenantId field to OutboxEvent , but only map it
in
org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl.OutboxPollingOutboxEventAdditionalJaxbMappingProducer#produceMappings
if the user is relying on discriminator-based multitenancy, which can be detected in that
method through
buildingContext.getMetadataCollector().getFilterDefinition(TenantIdBinder.FILTER_NAME) !=
null.
This will, of course, only work with Hibernate ORM 6.
(
https://hibernate.atlassian.net/browse/HSEARCH-4403#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4403#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:b79b7f6 )