From c9daa8002706c6daba711fd7f1021898a925b357 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 25 Apr 2016 14:08:15 +0200 Subject: [PATCH] ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- .../mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java | 1 + src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java | 1 + .../mxchange/jphone/phonenumbers/landline/LandLineNumber.java | 1 + .../jphone/phonenumbers/mobileprovider/CellphoneProvider.java | 1 + 4 files changed, 4 insertions(+) diff --git a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java index 0f5b727..647cf5a 100644 --- a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java @@ -46,6 +46,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; @NamedQueries ( @NamedQuery (name = "SearchCellphoneId", query = "SELECT c FROM cellphone_numbers AS c WHERE c.phoneId = :cellphoneId") ) +@SuppressWarnings ("PersistenceUnitPresent") public class CellphoneNumber implements DialableCellphoneNumber { /** diff --git a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java index dc469d0..a4e5a27 100644 --- a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java @@ -45,6 +45,7 @@ import org.mxchange.jcountry.data.CountryData; @NamedQueries ( @NamedQuery (name = "SearchFaxId", query = "SELECT f FROM fax_numbers AS f WHERE f.phoneId = :faxId") ) +@SuppressWarnings ("PersistenceUnitPresent") public class FaxNumber implements DialableFaxNumber { /** diff --git a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java index b3a2fb1..69383d9 100644 --- a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java @@ -45,6 +45,7 @@ import org.mxchange.jcountry.data.CountryData; @NamedQueries ( @NamedQuery (name = "SearchLandLineId", query = "SELECT p FROM phone_numbers AS p WHERE p.phoneId = :phoneId") ) +@SuppressWarnings ("PersistenceUnitPresent") public class LandLineNumber implements DialableLandLineNumber { /** diff --git a/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java b/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java index 6c63806..90f047c 100644 --- a/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java +++ b/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java @@ -45,6 +45,7 @@ import org.mxchange.jcountry.data.CountryData; @NamedQueries ( @NamedQuery (name = "AllMobileProvider", query = "SELECT p FROM cellphone_provider AS p ORDER BY p.providerId ASC") ) +@SuppressWarnings ("PersistenceUnitPresent") public class CellphoneProvider implements MobileProvider { /** -- 2.39.5