docs: private void primUpdate(IEntityGroup group, Connection conn)
              throws SQLException, GroupsException {
          try {
              PreparedStatement ps = conn.prepareStatement(getUpdateGroupSql());
  
              try {
                  Integer typeID =
                          EntityTypesLocator.getEntityTypes()
                                  .getEntityIDFromType(group.getLeafType());
  
                  ps.setString(1, group.getCreatorID());
                  ps.setInt(2, typeID.intValue());
                  ps.setString(3, group.getName());
                  ps.setString(4, group.getDescription());
                  ps.setString(5, group.getLocalKey());
  
                  if (LOG.isDebugEnabled())
                      LOG.debug(
                              "RDBMEntityGroupStore.primUpdate(): "
                                      + ps
                                      + "("
                                      + group.getCreatorID()
                                      + ", "
                                      + typeID
                                      + ", "
                                      + group.getName()
                                      + ", "
                                      + group.getDescription()
                                      + ", "
                                      + group.getLocalKey()
                                      + ")");
  
                  int rc = ps.executeUpdate();
  
                  if (rc != 1) {
                      String errString = "Problem updating " + group;
                      LOG.error(errString);
                      throw new GroupsException(errString);
                  }
              } finally {
                  ps.close();
              }
          } catch (SQLException sqle) {
              LOG.error("Error updating entity in database. Group: " + group, sqle);
              throw sqle;
          }
      }