Commit 45e2ef7c by Rex Zhou

user services and user repo

parent 0dd5adbe
......@@ -5,7 +5,7 @@ package edu.uchicago.mpcs.topics.query;
*/
public final class UserQuery {
public static final String IS_USER_ID_EXIST = "SELECT count(ID) FROM USER WHERE email = :email";
public static final String IS_USER_ID_EXIST = "select count(ID) from user where email = :email";
public static final String IS_AUTHENTICATED = "from User where email = :email and password = :password";
public static final String USER_BY_EMAIL = "from User WHERE email = :email";
public static final String USER_BY_EMAIL = "from User where email = :email";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment