-
1. Re: Can't get EL resolved
nickarls Feb 25, 2008 7:44 AM (in response to ziphyre)Are you sure it doesn't get resolved? What is in the exception? Could be something else, example 1.2 in the manual looks pretty much like that...
-
2. Re: Can't get EL resolved
ziphyre Feb 25, 2008 8:36 AM (in response to ziphyre)Damn!
I can't believe I've lost that much time on this. When I saw question marks on the log:
where user0_.phoneNumber=? and user0_.password=?
I thought there was an error, and it never occurred to me to try with correct login info!! Thank you...
Is there a paramater for turning off these '?' and to log actual parameters?
-
3. Re: Can't get EL resolved
nickarls Feb 25, 2008 9:07 AM (in response to ziphyre)Heh, once you go code blind your mind goes blank for other paths ;-)
I can't recall seeing it in other forms than logging on
org.hibernate.type
and that might be a little verbose.Personally I wouldn't mind if there would be a hibernate.showboundparameters that would show the same output but with the real substituted values.
Well, in any case thats a Hibernate issue, might even have a JIRA over there somwhere.
BTW. You might want to catch a NoResultException in your case instead of the Exception...
-
4. Re: Can't get EL resolved
nickarls Feb 25, 2008 9:09 AM (in response to ziphyre)hibernate.show_bound_parameters that is...
-
5. Re: Can't get EL resolved
ziphyre Feb 25, 2008 10:04 AM (in response to ziphyre)
Nicklas Karlsson wrote on Feb 25, 2008 09:07 AM:
BTW. You might want to catch a NoResultException in your case instead of the Exception...Sure, thanks...