Skip to content

Commit

Permalink
Fix HibernateJpaProvider.java
Browse files Browse the repository at this point in the history
Small hotfix for #1886
  • Loading branch information
sultansoy authored Nov 5, 2024
1 parent fa4d73b commit a01c296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ public boolean isOrphanRemoval(ManagedType<?> ownerType, String elementCollectio
break;
}
}

int propertyIndex = componentType.getPropertyIndex(propertyParts[propertyIndex]);
return componentType.getCascadeStyle(propertyIndex).hasOrphanDelete();
}

Expand Down

0 comments on commit a01c296

Please sign in to comment.