Skip to content

Conversation

kishore-pothireddy
Copy link

@kishore-pothireddy kishore-pothireddy commented Dec 24, 2024

https://hibernate.atlassian.net/browse/HHH-18985

Getting following exception when selecting embedded fields from union query wrapped in a criteria query.

java.lang.NullPointerException: Cannot invoke "org.hibernate.metamodel.mapping.EmbeddableValuedModelPart.findSubPart(String, org.hibernate.metamodel.mapping.EntityMappingType)" because "modelPartContainer" is null

@yrodiere yrodiere changed the title NPE selecting embedded fields from union query wrapped in criteria query HHH-18985 NPE selecting embedded fields from union query wrapped in criteria query Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant