Epigno
Epigno

Reputation: 11

how to cache table data in java

we a facility in .net called recordset which stores the table data in the cache and can be used as table to fetch data from it which makes data retrival fast

do we have anything like that in java, if so how to cache them, how to retrive them, what is the access time, would it be faster than fetching from database, can anybody help implementing it....

Upvotes: 0

Views: 2144

Answers (2)

stacker
stacker

Reputation: 68962

To cache already fetched data you might be interested in Ehcache

Upvotes: 1

naikus
naikus

Reputation: 24472

You may want to check the java.sql package Specially the ResultSet, Rowset classes

Upvotes: 0

Related Questions