From: Roland Häder Date: Wed, 9 Oct 2019 23:59:06 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ec4e7902f02e802e4fe67d89f058d5df5cc5490;p=jjobs-core.git Don't cherry-pick: - manual fixing here: fixed import to new name Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java b/src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java index e0bd99e..b880919 100644 --- a/src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java +++ b/src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java @@ -32,7 +32,7 @@ import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Transient; import org.mxchange.jjobs.model.jobposition.HireableJobPosition; -import org.mxchange.jjobs.model.jobposition.JobPosition; +import org.mxchange.jjobs.model.jobposition.OpenJobPosition; import org.mxchange.jjobs.model.skill.JobSkill; import org.mxchange.jjobs.model.skill.Skillable; import org.mxchange.jusercore.model.user.LoginUser; @@ -61,7 +61,7 @@ public class JobPositionSkill implements SkillableJobPosition { * Linked job position */ @JoinColumn (name = "skill_job_position_id", referencedColumnName = "job_position_id", updatable = false, nullable = false) - @OneToOne (cascade = CascadeType.ALL, targetEntity = JobPosition.class, optional = false) + @OneToOne (cascade = CascadeType.ALL, targetEntity = OpenJobPosition.class, optional = false) private HireableJobPosition jobPosition; /**