cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michał Morzywołek" <nirwa...@gmail.com>
Subject lazy loading - easy question
Date Tue, 03 Jun 2008 16:49:40 GMT
Let's say i got class A with collection of class B in it.
When i read objact a (of class A) from db the collection is not loaded at
first(due to lazy loading).
1. How can i disable lazy loading - so the collection would be always
loaded?
2. How to use resolveFault() or the new prepareForAccess() method to load
the collection?

Looked into the documentation but i didn't find any explanation :(
Thank you for all your help
Mike

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message