From b37e727e273e93b94e44f7a1e318bce32da1b31b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 25 Apr 2016 14:12:24 +0200 Subject: [PATCH] ignored create-persistence-unit warning as no persistence.xml shall be created here (only EJB projects) --- .../jusercore/model/email_address/EmailAddressChange.java | 1 + src/org/mxchange/jusercore/model/user/LoginUser.java | 1 + 2 files changed, 2 insertions(+) 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 { /** -- 2.39.5