File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC mock runner - resultset updation. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JDBC mock runner - resultset updation." Watch "JDBC mock runner - resultset updation." New topic
Author

JDBC mock runner - resultset updation.

Karthikeyan Vellinagiri
Greenhorn

Joined: Feb 08, 2005
Posts: 1
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 26168
    
  66

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://jrebel.com/download
 
subject: JDBC mock runner - resultset updation.
 
Similar Threads
Upgrade Tomcat
Uses of Mock Objects
Testing Database Connection
ERROR: java.sql.SQLException: No data found
Closing DBObjects