Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CachedRowSet not populating?

 
Jeffrey McDonald
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm trying to switch from using a normal ResultSet to a CachedRowSet so i can disconnect. My queries executed before i switched from RS to CRS

my current code is:



the problem i'm having now is crs isn't storing any of the data. When i put it throw the debugger and step line by line through the code, resultSet has all the correct data, however crs does not store the data even after the .populate statement....

any idea's would be great!

thanks

edit, additionally i'm using the latest JDK, and mysql connector/j 5.1.13
 
Jan Cumps
Bartender
Posts: 2608
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Jeffrey .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic