Skip to content

Conversation

marko-bekhta
Copy link
Member

https://hibernate.atlassian.net/browse/HBX-2840
https://hibernate.atlassian.net/browse/HHH-18228

There were some changes in ORM that now are trying to load the component class to (e.g. to determine if it is a record or not) and since when the org.hibernate.mapping.* model is built in Tools there are no classes yet ... we probably don't want ORM trying to load anything 🙈. My thinking here is... we probably don't really care about the component class so let's prevent ORM from loading things through classloaders by name, and just return a simple Object.class so those ORM checks will pass through...

Let me know what you think about such an approach 😃.

@marko-bekhta marko-bekhta requested a review from koentsje February 7, 2025 15:15
Copy link
Member

@koentsje koentsje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff, I'll merge it today. Thanks a lot Marko!

@koentsje koentsje merged commit 2137de9 into hibernate:main Feb 19, 2025
3 checks passed
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.

2 participants