Lazy by context
---------------
Key: HHH-6713
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6713
Project: Hibernate Core
Issue Type: New Feature
Components: caching (L2)
Reporter: Martin Krüger
Sometimes I want to load references lazy and sometimes not. For example, if I read some
object for a table, i need less information, if I look at the details.
A workaround for this, is to implement lightweight entities, or fetch all referenced
entities by calling a.getAllB().size() if attribute b were lazy.
Would it be possible to steer lazy during runtime, rather then design time?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira