From: Roland Häder Date: Mon, 25 Apr 2016 12:12:24 +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=b37e727e273e93b94e44f7a1e318bce32da1b31b;p=juser-core.git ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index a683f4f..a705854 100644 --- a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java +++ b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java @@ -52,6 +52,7 @@ import org.mxchange.jusercore.model.user.User; @NamedQuery (name = "SearchEmailChangeByHash", query = "SELECT e FROM email_changes AS e WHERE e.emailChangeHash = :hash") } ) +@SuppressWarnings ("PersistenceUnitPresent") public class EmailAddressChange implements ChangeableEmailAddress { /** diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index b5d76fe..33678e5 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -75,6 +75,7 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus; @NamedQuery (name = "AllMemberPublicUsers", query = "SELECT u FROM users AS u WHERE u.userAccountStatus = :status AND u.userProfileMode IN (:public, :members) ORDER BY u.userId ASC") } ) +@SuppressWarnings ("PersistenceUnitPresent") public class LoginUser implements User { /**