title: db2 SQLCODE=-243, SQLSTATE=36001 ERROR
body: <p>I am using the DB2Driver in my code like</p>
  
  <pre><code>Class.forName("com.ibm.db2.jcc.DB2Driver");
  </code></pre>
  
  <p>and I am getting the result set in my java code which is scroll sensitive. my sql query look like this <code>select distinct day , month , year from XXX</code> . here table XXX is read only for the user which I am using ... so it is giving the following error</p>
  
  <p><code>com.ibm.db2.jcc.a.SqlException: DB2 SQL Error: SQLCODE=-243, SQLSTATE=36001, SQLERRMC=SQL_CURSH200C3, DRIVER=3.51.90</code> .. I know this is the problem of read only .. but when i try to execute the same query in db2 control center it is working</p>
  
  <p>please help me out in this</p>