HibernateProcessor wrong warnings after upgrading to 6.5

Description

Hi,

I upgraded hibernate to version 6.5 in my project and it’s reporting warning about the association mappings when generating the metamodel which seems wrong in my case.
I suppose it’s related to the new feature : HHH-17875.

A reproducer is attached.

It’s reporting the following problems in the code when building the project with mvn clean compile:

The generated metamodel is fine and works correctly, only the warnings seems wrong in this case.

If the problem is in my code, I don’t see what’s wrong with it.

Attachments

1

Activity

Show:

Arturas Gusevas July 24, 2024 at 7:05 PM

Are there any plans to backport it to 6.5?

Gavin King May 29, 2024 at 4:04 PM

Thanks for reporting this. The problem arose when property access was used.

I've fixed it in 6.6, but we should probably backport the fix to 6.5.

Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created May 29, 2024 at 8:28 AM
Updated July 24, 2024 at 7:05 PM
Resolved May 29, 2024 at 4:04 PM