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;
*/
@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 {