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.
Originally posted by maria pasha: yes it is working now!
Each of the getters in ResultSet should only be called once, and preferrably in order. It is a good practice to always assign them to attributes and then refer to the attibutes when you need the values. From the API:
For maximum portability, result set columns within each row should be read in left-to-right order, and each column should be read only once.