From 4f1ffd5f0ad18a90769858f7b25b1c0b10ca55e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 9 Sep 2017 12:40:28 +0200 Subject: [PATCH] removed double unique key MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jobposition/EmployeePosition.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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 { -- 2.39.5