improve EntityGraph JPQL query hint test

Description

When the "loadgraph" JPA query hint is used, non-specified attributes should default to the eagerness defined in the entity mappings.

The "fetchgraph" hint should be left as is – non-specified attributes should not be fetched. However, improve the unit test to ensure.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major