Let's put it this way: the JSP processing is trying to convert the string "DATE_RECEIVED" to an integer for some reason. I don't see why either of the
two code fragments you posted have anything to do with that.
Please avoid long lines; they are difficult to read, particularly in code tags.
You are somehow passing the String "PO_NUMBER" to the constructor of a Number class, or to a method like Integer.parseInt(), Integer.valueOf(), etc. It would appear to be Integer.parseInt().
You will have to go through your code, using the line numbers shown, and work out where it is happening. It is probably not in the code you posted.
This code execute well. I was able to see the size of my result
For some reason I dont see anything on my jsp page it returns me this error
My JSP CODE is this
I was confused how come im getting the parse error since I'm not parsing anything?
Initially I was using List result = session.createQuery it works ok. But when I try List result = session.createSQLQuery Im getting this problem.