Project

General

Profile

Actions

bug #4919

open

improve AdvancedBeanInitializer

Added by Andreas Kohlbecker over 6 years ago. Updated 4 months ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
05/20/2015
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

The AdvancedBeanInitializer needs improvements:

  1. autoinitialization of Collection items in case of bean.collection where an Autoinitializer exists for the type of the collection items - DONE : 72b0ad09b r23851

  2. autoinitialization of asscoiated beans as in case of bean.subBean where an Autoinitializer exists for the type of the subBean items

  3. calls to PropertyUtils.getProperty() are causing unwanted initalization in some cases, e.g. in @initializeNodeNoWildcard()@:

 Object propertyValue = PropertyUtils.getProperty(parentBean, propertyName);
 preparePropertyValueForBulkLoadOrStore(node, parentBean, property, propertyValue);
  1. each bean passed to the initializeAll() method of the AdvancedBeanInitializer is auto-initialized independently from the initStrategy (see snipped below), this should improved by making use of the hql returned by addAutoinitFetchLoading()
//autoinitialize
for (Object bean : beanList){
   autoinitializeBean(bean);
}
Actions #1

Updated by Andreas Kohlbecker over 6 years ago

improvements by solving 1. autoinitialization of Collection items :

  • 72b0ad09b r23851

related bugfixes:

  • git: c9b5f6518, 824e1221 ;

  • svn: r23855, r23853

Actions #2

Updated by Andreas Kohlbecker over 6 years ago

fixing problem with missing autoinitialization of titleCaches: r23866

Actions #3

Updated by Andreas Müller 4 months ago

  • Description updated (diff)
  • Target version changed from cdmlib - Old Next Major Release to Unassigned CDM tickets
Actions #4

Updated by Andreas Müller 4 months ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF