This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC mock runner - resultset updation. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC mock runner - resultset updation." Watch "JDBC mock runner - resultset updation." New topic

JDBC mock runner - resultset updation.

Karthikeyan Vellinagiri

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,
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30068

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:
subject: JDBC mock runner - resultset updation.
Similar Threads
Uses of Mock Objects
Upgrade Tomcat
Testing Database Connection
Closing DBObjects
ERROR: java.sql.SQLException: No data found