From d75ebc66c5dabc15191b5ca494be6108a1f51388 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 25 Apr 2016 14:14:04 +0200 Subject: [PATCH] ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- src/org/mxchange/jcontactsbusiness/CompanyContact.java | 1 + .../mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java | 1 + .../mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java | 1 + .../mxchange/jcontactsbusiness/department/CompanyDepartment.java | 1 + src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java | 1 + .../jcontactsbusiness/headquarters/CompanyHeadQuartersData.java | 1 + .../mxchange/jcontactsbusiness/jobposition/EmployeePosition.java | 1 + src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java | 1 + .../jcontactsbusiness/opening_times/BusinessOpeningTimes.java | 1 + 9 files changed, 9 insertions(+) diff --git a/src/org/mxchange/jcontactsbusiness/CompanyContact.java b/src/org/mxchange/jcontactsbusiness/CompanyContact.java index aed29bb..4562bdc 100644 --- a/src/org/mxchange/jcontactsbusiness/CompanyContact.java +++ b/src/org/mxchange/jcontactsbusiness/CompanyContact.java @@ -49,6 +49,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_contacts") @Table (name = "company_contacts") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyContact implements BusinessContact { /** diff --git a/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java b/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java index fcae00a..aa8f831 100644 --- a/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java +++ b/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java @@ -47,6 +47,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_basic_data") @Table (name = "company_basic_data") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyBasicData implements BusinessBasicData { /** diff --git a/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java b/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java index f6126f2..2327e8c 100644 --- a/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java +++ b/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java @@ -47,6 +47,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_branch_offices") @Table (name = "company_branch_offices") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyBranchOffice implements BranchOffice { /** diff --git a/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java b/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java index 093d9c4..048f87f 100644 --- a/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java +++ b/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java @@ -49,6 +49,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_departments") @Table (name = "company_departments") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyDepartment implements Department { /** diff --git a/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java b/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java index 221d481..a1d253b 100644 --- a/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java +++ b/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java @@ -54,6 +54,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_employees") @Table (name = "company_employees") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyEmployee implements Employee { /** diff --git a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java index 190b973..fa0d78e 100644 --- a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java +++ b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java @@ -46,6 +46,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_headquarters") @Table (name = "company_headquarters") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyHeadQuartersData implements HeadQuartersData { /** diff --git a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java index 29d013b..9dfa180 100644 --- a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java +++ b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java @@ -41,6 +41,7 @@ import javax.persistence.TemporalType; @Index (name = "job_position", columnList = "job_position_name", unique = true) } ) +@SuppressWarnings ("PersistenceUnitPresent") public class EmployeePosition implements JobPosition { /** diff --git a/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java b/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java index 447af3f..032cfd4 100644 --- a/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java +++ b/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java @@ -40,6 +40,7 @@ import org.mxchange.jusercore.model.user.User; */ @Entity (name = "company_logos") @Table (name = "company_logos") +@SuppressWarnings ("PersistenceUnitPresent") public class CompanyLogo implements BusinessLogo { /** diff --git a/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java b/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java index f11ea40..2e3f50b 100644 --- a/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java +++ b/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java @@ -38,6 +38,7 @@ import javax.persistence.TemporalType; */ @Entity (name = "company_opening_times") @Table (name = "company_opening_times") +@SuppressWarnings ("PersistenceUnitPresent") public class BusinessOpeningTimes implements OpeningTimes { /** -- 2.39.5