Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cache result set

 
Hamzah khammash
Greenhorn
Posts: 23
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys ,,
I want someone give me a hint about cashing the whole returned result set row by row to a map where is the key is the row index and value
is the whole row?
Help please
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I updated the subject from "cash" to "Cache" so it gets more attention (the English word is cache.)

Java has a CachedRowSet object. You can go to a particular row with it. Why do you need a map instead?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic