From: Roland Häder Date: Sat, 9 Sep 2017 10:40:28 +0000 (+0200) Subject: removed double unique key X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f1ffd5f0ad18a90769858f7b25b1c0b10ca55e6;p=jcontacts-business-core.git removed double unique key Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java index 033c2d4..ce7d391 100644 --- a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java +++ b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java @@ -24,7 +24,6 @@ import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; -import javax.persistence.Index; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; @@ -37,14 +36,7 @@ import javax.persistence.Transient; */ @Entity (name = "company_job_positions") @Table ( - name = "company_job_positions", - indexes = { - @Index ( - name = "job_position", - columnList = "job_position_name", - unique = true - ) - } + name = "company_job_positions" ) @SuppressWarnings ("PersistenceUnitPresent") public class EmployeePosition implements JobPosition {