title: Db2 connection problem with java
body: <p>I am having problem with DB2. I just installed the db2 as a db2admin and with a password. When i try to connect to database it is success full and while running any simple select query it give me following error:-</p>
  
  <p>DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=DB2ADMIN.LOGIN, DRIVER=3.57.82</p>
  
  <p>I have a database named onp and a table in it called 'login' in which there is one table called 'login' with two fields username and password.</p>
  
  <p>Query that i am running</p>
  
  <ol>
  <li>Select * from login; gives me error</li>
  </ol>
  
  <p>DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=DB2ADMIN.LOGIN, DRIVER=3.57.82 </p>
  
  <ol start="2">
  <li>Select * from system.login; gives me error:-    (//system is schema name)</li>
  </ol>
  
  <p>DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=DB2ADMIN;SELECT;SYSTEM.LOGIN, DRIVER=3.57.82 </p>
  
  <p>I have tried all the resources on the net and exhausted completely. Please help me</p>