code: protected CmsRelation internalReadRelation(ResultSet res) throws SQLException {
  
          CmsUUID sourceId = new CmsUUID(res.getString(m_sqlManager.readQuery("C_RELATION_SOURCE_ID")));
          String sourcePath = res.getString(m_sqlManager.readQuery("C_RELATION_SOURCE_PATH"));
          CmsUUID targetId = new CmsUUID(res.getString(m_sqlManager.readQuery("C_RELATION_TARGET_ID")));
          String targetPath = res.getString(m_sqlManager.readQuery("C_RELATION_TARGET_PATH"));
          int type = res.getInt(m_sqlManager.readQuery("C_RELATION_TYPE"));
          return new CmsRelation(sourceId, sourcePath, targetId, targetPath, CmsRelationType.valueOf(type));
      }
docs: Creates a new {@link CmsRelation} object from the given result set entry.<p>
  
  @param res the result set
  
  @return the new {@link CmsRelation} object
  
  @throws SQLException if something goes wrong