JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false.

Description

The version-attribute is stored in the version field of EntityTypeImpl but in the declaredSingularAttributes the SingularAttribute for the same version field has isVersion set to false.

Environment

None

Assignee

Steve Ebersole

Reporter

KarthikA

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure