could not execute query; SQL [select user0_.Id as Id0_, user0_.DateCreate as DateCreate0_, user0_.U_account as U3_0_, user0_.U_pwd as U4_0_, user0_.U_name as U5_0_, user0_.Age as Age0_, user0_.Email as Email0_, user0_.QQ as QQ0_ from User user0_ where user0_.U_account=yhy];
"from User u where u.account="+account;这是查询语句,应该没错吧,也许我低端看不出来,指教!
"from User u where u.account='"+account+"'";这是查询语句,应该没错吧,也许我低端看不出来,指教!貌似你的account是string类型,不加单引号是数字类型。
"from User u where u.account='"+account+"'";这是查询语句,应该没错吧,也许我低端看不出来,指教!貌似你的account是string类型,不加单引号是数字类型。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货