I have created a Java Project in Eclipse. My JDK is 1.6.0_34. I want to use the implementation of javax.sql.rowset.CachedRowSet
interface in one of my class. I know Sun/Oracle wrote its implementation as CachedRowSetImpl
and it should be part of JDK. But I am not getting it. This is my code:
CachedRowSet cachedRowSet = new CachedRowSetImpl();
This is the error message Eclipse is giving me:
CachedRowSetImpl cannot be resolved to a type
What I am doing wrong here?