code: protected CmsHistoryProject internalCreateProject(ResultSet res, List<String> resources) throws SQLException {
  
          String ou = CmsOrganizationalUnit.removeLeadingSeparator(
              res.getString(m_sqlManager.readQuery("C_PROJECTS_PROJECT_OU_0")));
          CmsUUID publishedById = new CmsUUID(res.getString(m_sqlManager.readQuery("C_PROJECT_PUBLISHED_BY_0")));
          CmsUUID userId = new CmsUUID(res.getString(m_sqlManager.readQuery("C_PROJECTS_USER_ID_0")));
          return new CmsHistoryProject(
              res.getInt(m_sqlManager.readQuery("C_PROJECTS_PUBLISH_TAG_0")),
              new CmsUUID(res.getString(m_sqlManager.readQuery("C_PROJECTS_PROJECT_ID_0"))),
              ou + res.getString(m_sqlManager.readQuery("C_PROJECTS_PROJECT_NAME_0")),
              res.getString(m_sqlManager.readQuery("C_PROJECTS_PROJECT_DESCRIPTION_0")),
              userId,
              new CmsUUID(res.getString(m_sqlManager.readQuery("C_PROJECTS_GROUP_ID_0"))),
              new CmsUUID(res.getString(m_sqlManager.readQuery("C_PROJECTS_MANAGERGROUP_ID_0"))),
              res.getLong(m_sqlManager.readQuery("C_PROJECTS_DATE_CREATED_0")),
              CmsProject.CmsProjectType.valueOf(res.getInt(m_sqlManager.readQuery("C_PROJECTS_PROJECT_TYPE_0"))),
              res.getLong(m_sqlManager.readQuery("C_PROJECT_PUBLISHDATE_0")),
              publishedById,
              resources);
      }
docs: Creates a historical project from the given result set and resources.<p>
  @param res the resource set
  @param resources the historical resources
  
  @return the historical project
  
  @throws SQLException if something goes wrong