Ron McLeod wrote:Take a look at these javadoc pages:
QueryRunner#query
BeanListHandler
The parameters break-down like this:
So in simple terms, it is saying:
Line 1. Run this SQL statement and return me the result as a List.
Line 3. Mr. BeanListHandler, you know what to do with results that are in the form of lists, so please handle this result (How? I'm not too sure)
Line 4. Query parameters.... I don't get this part. How do the parameters exactly correspond to the data? What is the ordering? Can you give an example using this code using made-up data?
Can you please explain this to me in very simple terms? Thanks