]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
removed double unique key
authorRoland Häder <roland@mxchange.org>
Sat, 9 Sep 2017 10:40:28 +0000 (12:40 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 9 Sep 2017 10:40:28 +0000 (12:40 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java

index 033c2d4aa9d94361752453917ef75dd67b3f4fe2..ce7d3919d0903c655c993ca64b17d11d7b90790c 100644 (file)
@@ -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 {