Multiple @PostLoad (in @Entity and @MappedSuperclass)

Description

Using @PostLoad in a @MappedSuperclass does not work it the annotated method has the same name as in @Entity class.
I did not find any hints in the specs about the behavior in this case. Is it allowed?
The SuperClass ist part of another module than EntityClass.

This does not work

SuperClass.java

EntityClass.java

This works

SuperClass.java

EntityClass.java

 

Environment

Adopt OPENJDK11/OpenJ9
Wildfly 18.0.1
Win 10/64bit
PÜostgreSQL 12

Assignee

Unassigned

Reporter

Stefan Lindner

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure