Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNGY5OTli...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-4890?atlOrigin=eyJpIjoiNGY...
) HSEARCH-4890 (
https://hibernate.atlassian.net/browse/HSEARCH-4890?atlOrigin=eyJpIjoiNGY...
) Adapt calls to RootGraph#appliesTo() to Hibernate ORM 6.3 (
https://hibernate.atlassian.net/browse/HSEARCH-4890?atlOrigin=eyJpIjoiNGY...
)
Issue Type: Task Assignee: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: mapper-orm Created: 03/Jul/2023 00:36 AM Fix Versions: 6.2.0.Final,
7.0.0.Beta1 Priority: Major Reporter: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
ORM 6.3 is changing that (incubating) SPI, so we need to adapt to stay compatible.
Using this code instead of calling appliesTo should be fine:
final ManagedDomainType<J> managedTypeDescriptor = getGraphedType();
if ( managedTypeDescriptor.equals( entityType ) ) {
return true;
}
IdentifiableDomainType<?> superType = entityType.getSupertype();
while ( superType != null ) {
if ( managedTypeDescriptor.equals( superType ) ) {
return true;
}
superType = superType.getSupertype();
}
return false;
(
https://hibernate.atlassian.net/browse/HSEARCH-4890#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4890#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#100228- sha1:e911e2c )