Hi Maabed,
Here there is a summary of what I did to make it work:
* To enable jdbc 2.0 in Windows, go to your DB2 folder and run the application usejdbc2.bat (in my case, C:\SQLLIB\java12\usejdbc2.bat).
I suggest you to run it from a CMD window to see the details.
Be sure all db2 applications are closed and services stopped.
* In your program, create your Statement object as it follows:
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSIT IVE, ResultSet.CONCUR_READ_ONLY);
And execute the query:
ResultSet rs = stmt.executeQuery(...);
Then you can use all the scrollable methods of the class ResultSet.
I hope it works for you as well.
Regards,
Cesar
--------------------------------------------------------------------------------