title: net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::4.0.2 user lacks privilege or object not found: WHERE
body: <pre><code>public void update(String tempid,String name,String sid,int age,String course,String department) throws SQLException {
      try {
          int result = 0;
          s = con.createStatement();
          result = s.executeUpdate(&quot;Update db set Name=&quot;+name+&quot;, Age=&quot;+age+ 
                  &quot;,Course=&quot; +course+ &quot;,Department=&quot;+department+&quot;, where StudentID=&quot;+tempid);
          if(result &gt; 0) {
              System.out.println(&quot;更新成功&quot;);
          }
      }catch(Exception e) {
          e.printStackTrace();
      }finally {
          con.close();
      }
  }
  </code></pre>
  <p>What is the problem of this coding part? Only update command cannot run sucessfully , others like insert,delete,select(sql command) can run sucessfully. Anyone can help me with this problem? Thanks</p>