Fix problem with Hibernate Lazy Loading-exception

Registered by Olav P

Fix problem with Hibernate Lazy Loading-exception.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon m4-2010
Started by
Olav P
Completed by
Olav P

Sprints

Whiteboard

Why it appears, When you map a one-to-many relation ship, the default load mode is lazy loading, and this is the best choice thing because Hibernate will not gonna load a collection of objects in memory until you use them.
So, If you try to access this collection within the same session you get the parent object, it will works fine.

So the problem happens when you try to access a collection of some object outside the initiating session.

Fixed, but the implementation is now slow.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.