Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDI5YzcxNzNj...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-17072?atlOrigin=eyJpIjoiMDI5Yz...
) HHH-17072 (
https://hibernate.atlassian.net/browse/HHH-17072?atlOrigin=eyJpIjoiMDI5Yz...
) Tenant Id defined in XML mapping is ignored (
https://hibernate.atlassian.net/browse/HHH-17072?atlOrigin=eyJpIjoiMDI5Yz...
)
Issue Type: Bug Assignee: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hibernate-core Created: 11/Aug/2023 08:26 AM Fix Versions: 6.3.0 Priority:
Major Reporter: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Assume having an xml mapping as:
<entity-mappings
xmlns="http://www.hibernate.org/xsd/orm/mapping">
<entity
name="org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl.OutboxEvent"
class="org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl.OutboxEvent"
access="FIELD">
<table name="MY_TABLE_NAME"></table>
<tenant-id name="tenantId"/>
<attributes>
<id name="id"></id>
[...]
</attributes>
</entity>
</entity-mappings>
tenantId does not get mapped as @TenantId, and no value is set on persisting entities.
(
https://hibernate.atlassian.net/browse/HHH-17072#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-17072#add-comment?atlOrigin=ey...
)
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#100234- sha1:39b0f46 )