From 3ec4e7902f02e802e4fe67d89f058d5df5cc5490 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 10 Oct 2019 01:59:06 +0200 Subject: [PATCH] Don't cherry-pick: - manual fixing here: fixed import to new name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; /** -- 2.39.5