]> git.mxchange.org Git - jphone-core.git/commitdiff
ignored create-persistence-unit warning as no persistence.xml shall be created here...
authorRoland Häder <roland@mxchange.org>
Mon, 25 Apr 2016 12:08:15 +0000 (14:08 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 25 Apr 2016 12:08:15 +0000 (14:08 +0200)
src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java
src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java
src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java
src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java

index 0f5b7275ff8e35246c6cba5e2de2908c51417e15..647cf5abdf97b031d7c806fd022abb9150547f8e 100644 (file)
@@ -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 {
 
        /**
index dc469d0d27f164262b0c05c3c74754e692ecb992..a4e5a278fb2d99097d2d389e60c64412696a8389 100644 (file)
@@ -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 {
 
        /**
index b3a2fb1cda7653e8e2dfb4a4592d2bfe3323d04b..69383d9c98db09d35763d1dba38936e0b1fbf7e5 100644 (file)
@@ -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 {
 
        /**
index 6c638061a75e23cc3050543e47f37f74e4150b6e..90f047c941a54fa5a86da935e4172bbd90b6133f 100644 (file)
@@ -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 {
 
        /**