From: Roland Häder Date: Mon, 25 Apr 2016 12:08:48 +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=68e194cccdd32f18e9620c0c030ac4c555475bbd;p=jcountry-core.git ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- diff --git a/src/org/mxchange/jcountry/data/CountryData.java b/src/org/mxchange/jcountry/data/CountryData.java index 073a8ce..9f84241 100644 --- a/src/org/mxchange/jcountry/data/CountryData.java +++ b/src/org/mxchange/jcountry/data/CountryData.java @@ -43,6 +43,7 @@ import javax.persistence.TemporalType; @NamedQuery (name = "SearchCountryByCodeI18nKey", query = "SELECT c FROM country_data AS c WHERE c.countryCode = :code OR c.countryI18nkey = :key") } ) +@SuppressWarnings ("PersistenceUnitPresent") public class CountryData implements Country { /**