Ticket #289 (closed enhancement: fixed)
Allow client code to participate in role creation during lifting
|Reported by:||stephan||Owned by:|
This occurred when implementing lazy loading for EclipseLink:
When a team is retrieved from persistent storage lazy loading recommends that its roles are not loaded at that point in time. When subsequently a base object is lifted for that team, lifting must be capable of retrieving an existing role instead of creating a fresh one.
Since the logic for retrieving roles is not a responsibility of OT/J, it should be possible to hook client code into the lifting logic, that can feed roles into the infrastructure.