Comment for class is ignored when using subselect in hibernate mapping

Description

When using a *.hbm.xml file with a class element declaration that specifies a subselect and a comment element like below, the comment is ignored.

A test project demonstrating the issue is attached.

Environment

None

Status

Assignee

Unassigned

Reporter

Koen Aers

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure