最新回答 / 子木李
编译错误,它说你的UsersDaoImpl里没有定义Userlogin方法,楼主看看你的UsersDaoIml类里有没有这个方法,然后它的返回值类型是不是boolean的
2015-12-13
始终登不进去~
登录~
Hibernate:
select
user0_.uId as uId1_1_,
user0_.uName as uName2_1_,
user0_.uPassword as uPasswor3_1_
from
USER user0_
where
user0_.uName='null'
and user0_.uPassword='null'
login_failure
登录~
Hibernate:
select
user0_.uId as uId1_1_,
user0_.uName as uName2_1_,
user0_.uPassword as uPasswor3_1_
from
USER user0_
where
user0_.uName='null'
and user0_.uPassword='null'
login_failure
2015-12-12
已采纳回答 / sunyaox
请完整的描述问题,好吗亲!在两个类发生继承关系时:才会有super();父类只含有无参构造器时(包括默认构造器):因为系统会在实例化子之前先实例化父类-这种叫隐式调用。父类含有重载构造器时:只可把super();写到子类构造器的第一行,才可实例子类,如果你不写,会报错的-这中叫显示调用
2015-12-10