4 Replies Latest reply: Jan 19, 2012 5:04 AM by 789390 RSS

    Any difference between getXXX methods of Statement and ResultSet classes?


      Currently, I have an application, using Statement::getXXX methods. I'll rewrite it and add new features.

      But with the new design, it would be better to use ResultSet::getXXX methods.

      Will they give me the same behavior, is there anything special or any differences between these methods?

      My guess is, that class StatementImpl holds a pointer to the ResultSet and calls its methods (after 'executeXXX' is called), but it's just a blind guess.

      Thank you in advance!

      Best Regards,
      Kiril Kirov

      Edited by: Kiril Kirov on Jan 19, 2012 12:18 PM

      Edited by: Kiril Kirov on Jan 19, 2012 12:27 PM