Gradle Enhancement Task RuntimeException: class is frozen

Description

ManyToOne collection throws RuntimeException: ChildItem class is frozen

Please note that I have already referred to before posting this issue.

The example is attached.

Attachments

1

Activity

Show:

Former user March 15, 2017 at 12:21 AM

Fixed in 5.1 branch as well.

Luis Barreiro August 17, 2016 at 6:20 PM

Thanks for the report. I open a PR to address this, based on the example you provided. Please note that in this case the enhancement will succeed even if the mapping is wrong (the metamodel is not build for enhancement, so it can't be validated).

Ashok Koyi August 16, 2016 at 9:56 AM

I just realised that the issue is due to a mapping error in the sample. However, this build error masks the actual error in hibernate mapping.

This means that enhancement plugin must first validate the mapping config before generating the code.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created August 16, 2016 at 8:14 AM
Updated March 15, 2017 at 12:34 AM
Resolved March 15, 2017 at 12:21 AM