我做的项目就在登录的时候提示密码登录错误 在报错的时候提示下面的一句Hibernate: select this_.USER_ID as USER1_7_0_, this_.ROLES_ID as ROLES2_7_0_, this_.HUMAN_ID as HUMAN3_7_0_, this_.USER_NAME as USER4_7_0_, this_.PASSWORD as PASSWORD7_0_, this_.TELPHONE_NUM as TELPHONE6_7_0_, this_.EMAIL as EMAIL7_0_, this_.STATUS as STATUS7_0_, this_.PAGE_STYLE as PAGE9_7_0_, this_.PAGE_SIZE as PAGE10_7_0_, this_.DR as DR7_0_, this_.TS as TS7_0_, this_.FREE1 as FREE13_7_0_, this_.FREE2 as FREE14_7_0_, this_.FREE3 as FREE15_7_0_ from USERS this_ where (this_.USER_NAME=? or this_.EMAIL=?)
这个只是hql 看不出来错误的
THIS_.ROLES_ID AS ROLES2_7_0_,
THIS_.HUMAN_ID AS HUMAN3_7_0_,
THIS_.USER_NAME AS USER4_7_0_,
THIS_.PASSWORD AS PASSWORD7_0_,
THIS_.TELPHONE_NUM AS TELPHONE6_7_0_,
THIS_.EMAIL AS EMAIL7_0_,
THIS_.STATUS AS STATUS7_0_,
THIS_.PAGE_STYLE AS PAGE9_7_0_,
THIS_.PAGE_SIZE AS PAGE10_7_0_,
THIS_.DR AS DR7_0_,
THIS_.TS AS TS7_0_,
THIS_.FREE1 AS FREE13_7_0_,
THIS_.FREE2 AS FREE14_7_0_,
THIS_.FREE3 AS FREE15_7_0_
FROM USERS THIS_
WHERE (THIS_.USER_NAME = ? OR THIS_.EMAIL = ?)