Is there a yield return in java for lazy fetching in hibernate?
<p>I understand that a "yield return" (C# construct) is not available in Java. However, when I do lazy loading in Java/Hibernate. What is the recommended way to iterate over the collection using lazy loading and something similar to yield return ?</p>
