[OJB-developers] OJB 07.325 RefreshRelationship etc.
Brought to you by:
thma
From: Jakob B. <jbr...@ho...> - 2002-02-10 12:14:58
|
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 |