Unable to enhance property from MappedSuperclass: class is frozen

Description

I'm enhancing Kotlin classes. When upgrading to 5.2.4 bytecodeenhancement failed with
Unable to enhance persistent attribute [de.eiswind.some.domain.User:tenant]: de.eiswind.some.domain.BaseTenantEntity class is frozen

I recreated the issue using java classes, to make sure it's not a kotlin issue. As I do have no clue, please have a look at it, you may reproduce it easily with
https://github.com/eiswind/hibernate-enhance-problem

Environment

maven, linux

Status

Assignee

Luis Barreiro

Reporter

Thomas Kratz

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure