Ticket #122 (new defect)
HibOS: Hibernate lazy loading of objects
| Reported by: | scascarini | Owned by: | scascarini |
|---|---|---|---|
| Priority: | Medium | Milestone: | plugins-hibos-1.1-beta-1 |
| Component: | Plugins: Hibernate Persistor | Version: | nof: 3.0M3 |
| Severity: | minor | Keywords: | |
| Cc: |
Description (last modified by rcmatthews) (diff)
A NO strategy for hibernate lazy loaded objects has been implemented.
Lazily loaded objects use NO lazy loading instead with an unpopulated object behind the adaptor which is populated on resolve.
However if the reference to the lazily loaded object is a interface or abstract class the adapter cannot create an instance of the object and so this strategy fails.
Need to understand if 1. this potentially affects 'any' relationships (which are unavoidable) in which case it must be resolved. 2. If there is a alternative approach (perhaps a new type of adapter) which allows lazy loaded. 3. We should just avoid lazy loading of objects
