hi,
the attached zip contains modifications to support individual refresh of
relationships.
<CollectionDescriptor id="1">
<refreshCollection>true</refreshCollection>
<ReferenceDescriptor id="1">
<refreshReference>true</refreshReference>
refreshRelationship on ClassDescriptor no longer exists. Relationships are
refreshed in RsIterator::getObjectFromResultSet() and
PersistenceBrokerImpl::getObjectByIdentity(), this leads to the situation
that the same relationship gets refreshed several times. i do not yet have a
solution to prevent multiple refresh.
other fixes:
- SqlManager::bindInsert() : default values for optimisticLocking fields.
- JdbcAccess::getObjectFromColumn() : get column index from resultset.
- SqlBasedRsIterator::getObjectFromColumn() : removed call to
m_mif.getRowReader().readObjectArrayFrom(); this is done in super();
jakob
|