armPanel.setArm((Arm) entityWith);
manager.merge(armPanel);
}
List<ArmRight> entityList1 = findEntityList(ArmRight.class, "arm", entityWhat);
for (int i = 0; i < entityList1.size(); i++) {
ArmRight armRight = entityList1.get(i);
armRight.setArm((Arm) entityWith);
manager.merge(armRight);
}
removeEntity(entityWhat);
manager.flush();
}