/** * INTERNAL: * Extract value from the row and set the attribute to the value in the object. */ public Object readFromRowIntoObject(AbstractRecord row, JoinedAttributeManager joinManager, Object object, ObjectBuildingQuery query, AbstractSession executionSession) throws DatabaseException { if (isWriteOnly()) { return null; } Object attributeValue = getIndirectionPolicy().valueFromMethod(object, row, query.getSession()); try { getAttributeAccessor().setAttributeValueInObject(object, attributeValue); } catch (DescriptorException exception) { exception.setMapping(this); throw exception; } return attributeValue; }
return getAttributeValueFromObject(row.getSopObject()); Object attributeValue = this.indirectionPolicy.valueFromMethod(object, row, query.getSession()); Object oldAttribute = null; if (executionSession.isUnitOfWork() && query.shouldRefreshIdentityMapResult()){
return getAttributeValueFromObject(row.getSopObject()); Object attributeValue = this.indirectionPolicy.valueFromMethod(object, row, query.getSession()); Object oldAttribute = null; if (executionSession.isUnitOfWork() && query.shouldRefreshIdentityMapResult()){