Srini,
It's not very clear to me from your posting what your question or problem is. Can you please try and reword it and/or give a little more information?
I'm going to have a guess at what you mean; you want a scrollable ResultSet, right? If that's the case then you'll need a JDBC driver that supports JDBC 2.0 (at least) and then you need to look at Connection.prepareStatement(
String sql, int resultSetType, int resultSetConcurrency). Constants for the two int parameters can be found in the ResultSet class.
Hope that helps.
Jules