Actions
bug #4919
openimprove AdvancedBeanInitializer
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Found in Version:
Description
The AdvancedBeanInitializer needs improvements:
autoinitialization of Collection items in case of
bean.collection
where an Autoinitializer exists for the type of thecollection
items - DONE : 72b0ad09b r23851autoinitialization of asscoiated beans as in case of
bean.subBean
where an Autoinitializer exists for the type of thesubBean
itemscalls 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);
- 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); }
Related issues
Actions