return emf.createEntityManager();
}
public void create(EquippedSkill equippedSkill) throws PreexistingEntityException, Exception {
if (equippedSkill.getEquippedSkillPK() == null) {
equippedSkill.setEquippedSkillPK(new EquippedSkillPK());
}
equippedSkill.getEquippedSkillPK().setSkillID(equippedSkill.getSkill().getId());
equippedSkill.getEquippedSkillPK().setCharacterID(equippedSkill.getCharacter().getId());
EntityManager em = null;
try {