From: Roland Häder Date: Mon, 25 Apr 2016 12:08:15 +0000 (+0200) Subject: ignored create-persistence-unit warning as no persistence.xml shall be created here... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9daa8002706c6daba711fd7f1021898a925b357;p=jphone-core.git ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- 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 { /**