• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC mock runner - resultset updation.

 
Karthikeyan Vellinagiri
Greenhorn
Posts: 1
  • 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: 34973
378
Eclipse IDE Java VI Editor
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic