Hi,

i have a problem because the first time i do not want to automagically load related objects.

The situation is as follows:

  • A "Document" class keeps all information about Document-files that should be stored in the database.
  • A "DocumentBlob" class is a related object that only contains some basic data about the object such as mime-type, bize-size and the document's data within a database BLOB.
  • The association between Document and Document blob is modelled as a many-to-one relation from Document to DocumentBlob. This association is uni-directional.
If my program navigates to the Document objects the DocumentBlob is also fetched from the database. Instead i intended to load the DocumentBlob ONLY IF i ask the Document for it.
 
Is there any chance to prevent this automagical loading ?
 
Regards,
Ralf E. Stranzenbach
 

Reply via email to