File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC mock runner - resultset updation.

 
Karthikeyan Vellinagiri
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

PLease help me regarding this.

I wrote a Test class for a tag; and created a valid mockResultSet. when I run the Test class, everything works fine. But the resultSet that I created in database class is not updated with the mockResultSet.

Can anyone please help me, how to update the resultset.

Thanks and Regards,
Karthik.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karthik,
Welcome to JavaRanch!

I think we need some more information. Can you post the code snippets that relate the database class and the resultSet.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic