This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I want to display few rows per jsp page, the number of rows should be selected by the user. I'm executing the query in a stateless session bean. I have a Java bean wrapper around it, whose methods I call in my jsp page. Can I get selected number of rows in the resultset itself, ie, specify the number of rows I want from the query when creating the query itself ? Is this why Scrollable resultsets are used ? And do preparedstatements support scrollable resultsets ? Any clarifications regarding this will be helpful. Thanks.