Created
July 13, 2018 05:54
-
-
Save mohamed-gara/ab941463bd85424fa84b3795efd550bc to your computer and use it in GitHub Desktop.
One To One reverse side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void inverseSideRelationshipIsNotLazyLoaded() { | |
Person person = entityManager.find(Person.class, WIFE_ID); | |
assertThat(person).hasEagerlyLoaded("husband"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment