title: oracle delete statement in java using prepared statement
body: <p>I have the following code:</p>
  
  <pre><code>PreparedStatement preparedStatement = null;
          try {
              connection = OracleDatabaseConnector.getConnection();
              preparedStatement = connection.prepareStatement("DELETE FROM " + TABLE_NAME + " WHERE ssn = ?");
              preparedStatement.setString(1, musicians.getSsn());
  
              preparedStatement.executeUpdate();
  
          } finally {
              DbUtil.close(preparedStatement);
              DbUtil.close(connection);
          }
  </code></pre>
  
  <p>I cant figure out why is not working, when I am refreshing the oracle table using the sqlDeveloper the record is still present.</p>