We are Working with Seam and EJB3. we are facing problems of Lazy Initialization.
As a Quick fix, changed collections/Sets to "EAGER". But, as the number of entites are more, We are getting Oracle Exception - ORA-01445 while opening any page.
Please let me know any solution for this, if any one knows.
Well if you want to load lazily loaded one-to-many relation entities of an entity, then you can do this
This will load the lazily loaded list of the entity. When you refresh the entity, it becomes a managed entity and thus you can load the lazy relationship then. You can also use Fetch join to do the same with a query...