title: The count value is assigned as 9 though only one record is updated in the database?
body: <p>I used the count to count the rows that are updated. when I run the following code in my program. count becomes 9 though only one record is updated in the database (oracle 11)</p>
  
  <pre><code>Query updateMyQuery = em.createNativeQuery("Query");
          updateMyQuery.setParameter("empNo", empNo); 
          updateMyQuery.setParameter("date", date);
          updateMyQuery.setParameter("flag", flag );
          count = updateMyQuery.executeUpdate();
  </code></pre>
  
  <p>Query is working I checked in the database. </p>
  
  <p>Thanks</p>