]> git.mxchange.org Git - jjobs-core.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 9 Oct 2019 23:59:06 +0000 (01:59 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 9 Oct 2019 23:59:06 +0000 (01:59 +0200)
- manual fixing here: fixed import to new name

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jjobs/model/jobskill/JobPositionSkill.java

index e0bd99eb57bf842ad1b3f7cd77204dcc42d4be2c..b880919e6d7d76b4c122f5d14a5894bc81327ae6 100644 (file)
@@ -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;
 
        /**