Changes between Initial Version and Version 3 of Ticket #1401


Ignore:
Timestamp:
Oct 8, 2009, 10:46:26 AM (15 years ago)
Author:
Nicklas Nordborg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1401

    • Property Owner changed from everyone to Nicklas Nordborg
    • Property Status newassigned
    • Property Summary MeasuredBioMaterialData.setBioWell() should not call BioWellData.setBioMaterial()One-to-one associations should not be synchronized in the data layer classes
  • Ticket #1401 – Description

    initial v3  
    11See source:/tags/2.13/src/core/net/sf/basedb/core/data/MeasuredBioMaterialData.java@HEAD#L163
    22
    3 The call is made to make sure the one-to-one link is synchonized. The problem is that it effectively disables lazy loading of bio-wells since it initializes the proxy. The synchronization should be made at a higher level, eg. `MeasuredBioMaterial.setBioWell()`.
     3The line calling `bioWell.setBioMaterial()` is made to make sure the one-to-one link is synchonized. The problem is that it effectively disables lazy loading of bio-wells since it initializes the proxy. The synchronization should be made at a higher level, eg. `MeasuredBioMaterial.setBioWell()`.
     4
     5This is slightly related to #1374, since a lot of annotations/experimental factors are probably associated with biomaterial items, and there is no need to initialize a lot of other things in this case.