0 Replies Latest reply on Jan 11, 2006 5:29 AM by l1z2g9

    cmp-fields in lazy-load-group can't set null

    l1z2g9

      the cmp in lazy-load-group can be setted any value, but null, however before set, get the value of cmp, null can be setted into the field, this is similar to the cmp field in cmr, cmp field can't be insert into null if not get the field before. i dont know why,

      jbosscmp-jdbc.xml
       <load-group>
       <load-group-name>subordination</load-group-name>
       <field-name>feeCurrency</field-name>
       <field-name>interest1</field-name>
       </load-group>
       </load-groups>
       <eager-load-group>basicProgramme</eager-load-group>
       <lazy-load-groups>
       <load-group-name>subordination</load-group-name>
       </lazy-load-groups>
      
       programmelocal.setFeeCurrency(programmeDTO.getFeeCurrency());
      

      once the FeeCurrency is null, the value can not be insert into database, but if get the field before set, the null can input into database