Encode Hibernate ORM version into build time enhanced entities

Description

It would be useful for diagnostic purposes to include the version of Hibernate that was used during build time enhancement.

I will not introduce automated checks that rely on this version though as I don't think we should enforce this; a warning about a mismatch would be safer but it risks being too noisy for perfectly adequate situations.

So for not let's just encode the version in there so that power users can use this to verify.

Environment

None

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure