@NotFound has AFAIK no effect on collections. If the presence of the annotation makes a *-to-many association EAGER, we should probably fix that, but you should also remove the annotation from such *-to-many associations as there is no effect at runtime. Please create a test case(https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-5/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java) that reproduces the problem and create a new Jira issue for this. |