From 6656f0add2c6930b4a34159b13173b8dae98804a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 16 Oct 2015 18:46:17 +0200 Subject: [PATCH] Opps, forgot to update the named query, too. You need to update query.setParameter("foo", foo); accordingly. --- lib/jcontacts-core.jar | Bin 20766 -> 20766 bytes lib/jcore.jar | Bin 13656 -> 13656 bytes lib/jcoreee.jar | Bin 18591 -> 18591 bytes .../jusercore/model/user/LoginUser.java | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index c86495c7e7c050e1a3601f996a49d4a280760bf4..c0b14e4478c1cdddc52d75c13e9dd45854341f2f 100644 GIT binary patch delta 199 zcmbQYh;iN`MxFp~W)?061`Y;>H&Z9_XfnN?I?;Rq6OesV0Yv`R1d@~07>z+xG@~_$ zn!)GlZSXW7jGi(7b{WdZUhv-?^C4WI1f>j2`l z_!@wyZ9qXF_0iWEM49<{gQ#Y|AP{xk&ksbY`$vGNM*kQPb>BY@MA-){B*k22nE@ zoj}wbMmr$2S%yiB6GWSE=W2lH#l~N`K=drTIbd-MkFzXH{dJSseJz2)lbw7WKvavb y0f^cL5&Y=u4C0yjd4s5CzaS8G-Omq1sryHOs7C)75Ov=_4n)}pB!j3W0aXB_O-Nn< diff --git a/lib/jcore.jar b/lib/jcore.jar index 88b7a44ddf14adc8aa4682d7fffd48ff6317d488..9e3538d91c157679bcad8ef905c8cc45c413b40c 100644 GIT binary patch delta 371 zcmcbSbt8)>z?+$ci-CcIf#Jo}i9DK2&!E^f(r&Q4w2B{?&Q?uf1L?b{J&lp+#nj1}x|Trh z^&0}BT0*@Jjf^t?gTLp?VTrK#@);mJ&%sILWL?$vh(QEUdmAS&7* z0z_>!2nSJohA|*2$1njzoihvrQEEm(Agao!07Shp$_7!9#yKGBxG`9Xya`xIu?bl2 Hfk_1bEoqu9 delta 371 zcmcbSbt8)>z?+$ci-CcIfuW;rB9A6hd)-9y1t9XK0*L$#5}B;Vs1KsT8LdGS2b1b# z0~Yql2N=0P+%t?;5K%J_<-lYPqAHo3fz;-GOs9B2bQiw|6NtVdc$*PKZxnt4rl*U( zULzFES^~L~ zm*_fxsAswcAWA|HEEue358_SH^9E55_1r*|roI=1Co_4Xz7~kNSKl2(u^9w|sAz)- z5Vh4H97ORM#(=0C!vqj@&M*u_sTl=S5qhQXfnN=I?;Rqh`gx)B7cKKCaWBon~^69Y`;Bvtea=HFdIwqa~0xx!Doy zhNF%KAl`R~ppla!h*#?51)>f*d4niE=Kv6u;2Z~{4mbxvcrud>T)@sc;4CwFf{PhQ t^n^gh}!F(4WhI>N&){7jClY6 delta 341 zcmbO~k#YV+MxFp~W)?061`Y;>uDXdlnoON_6U`TZ$eRiv@;69ivKpfyh>B#i0#Q>L ztwGc!Mh6hJg2{05d}mQEm@z=1A3&l1&YY9yF>ydt_<^V&Oim!mhS>v1ZEj<}zy_it zxXeL{Hcu2PX(spBf%IZG8&;;Sy2&1nmO$R*W=F6a zjyf8Ec;6v{Mox|(Ua6B8h&t%x4Wjs*13*-Qa~y~|;2Z?u$xJqI0Xyq}v&`fPE@mLn t6D|=TO35_=M76l4fT&llSs*IRtr0}sbjt)$F7D+ZYOi}Xh|=;X1pt_Lc=G@N diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index aa99a5e..93eace8 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -69,7 +69,7 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus; @NamedQuery (name = "SearchUserId", query = "SELECT u FROM users AS u WHERE u.userId = :id"), @NamedQuery (name = "SearchEmailAddress", query = "SELECT u FROM users AS u INNER JOIN contacts AS c ON u.userContact = c WHERE LOWER(c.contactEmailAddress) LIKE LOWER(:param)"), @NamedQuery (name = "SearchAllUsersExcept", query = "SELECT u FROM users AS u WHERE u != :user ORDER BY u.userId ASC"), - @NamedQuery (name = "AllPublicUsers", query = "SELECT u FROM users AS u WHERE u.userAccountStatus = :param AND u.userPublicProfile = TRUE") + @NamedQuery (name = "AllPublicUsers", query = "SELECT u FROM users AS u WHERE u.userAccountStatus = :status AND u.userProfileMode = :mode") } ) public class LoginUser implements User { -- 2.39.5