Use a SuperClass as target entity in a @OneToMany relationship

Description

HI there,
supposing to have an abstract SuperClass, with a single table inheritance, like this:

You can receive this error message:

I think that you could accept target type as an instance of AbstractGroup, because you're using inheritance on a single table, so you could know which is the right class.

What do you think about this?

Environment

None

Assignee

Unassigned

Reporter

Alex Tomasello

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure