Skip to content

Conversation

marko-bekhta
Copy link
Contributor

I'm opening this against a 3.25 branch to make it easier to apply.
For the main branch, I'll have to add a bit more as we switched to a failing behavior there so the tests won't work the same + there's that other issue discused here: #dev > Change the ORM's XML/JSON built-in format mapper default @ 💬, working on a fix for it and will comibne it all together

@quarkus-bot quarkus-bot bot added the area/hibernate-orm Hibernate ORM label Jul 31, 2025
Copy link

quarkus-bot bot commented Jul 31, 2025

/cc @gsmet (hibernate-orm)

@quarkus-bot quarkus-bot bot changed the title Account for Formula properties when detecting JSON/XML columns [3.25] Account for Formula properties when detecting JSON/XML columns Jul 31, 2025

This comment has been minimized.

columns = c.getElement().getColumns();
try {
for (PersistentClass persistentClass : metadata.getEntityBindings()) {
for (Property property : persistentClass.getProperties()) {
Copy link
Member

Choose a reason for hiding this comment

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

I think I would very much prefer having the try/catch in the loop and only ignoring this property if failing.

That would be a lot safer.

@marko-bekhta marko-bekhta force-pushed the fix/3.25/i49258-formula-column-json-mapping branch from 4ec284f to 9cf9e9f Compare August 1, 2025 07:16
@marko-bekhta marko-bekhta force-pushed the fix/3.25/i49258-formula-column-json-mapping branch from 9cf9e9f to 65e22d0 Compare August 1, 2025 07:21
Copy link

quarkus-bot bot commented Aug 1, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 65e22d0.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@marko-bekhta
Copy link
Contributor Author

Closing this one in favour ofthe changes suggested in:

@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/hibernate-orm Hibernate ORM triage/invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants