Brett Meyer commented on Bug HHH-8299

EagerKeyManyToOneTest revolves around a bidirectional, eager-loaded association which originally caused an infinite loop of loading back and forth from both sides. EagerKeyManyToOneTest checks to make sure the number of loads is less than 10 (an arbitrary value, as far as I know). If it's > 10, the OverflowCondition is thrown. Debugging showed HPUX JDK 7 causing the number of loads to increase to 298 (not sure if that value is significant), but it does not cause an infinite loop.

The original fix is somewhat fragile and assumes JVMs are consistent in their ordering of specific types of lists. The best guess is HPUX JDK 7 may be ordering a list differently. Steve is currently revamping this area upstream ("LoadPlans") and is intermittently hitting the issue again. I think the bottom line is that it's highly unlikely that we'll be able to fix this in ORM 3/EAP 5. The number of loads is high and certainly not ideal, but it is working. Further, HPUX JDK 7 may not be the only JVM where this issue comes up (and later versions may have corrected it).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira