title: oracle DELETE prepared statement
body: <p>I need your help please! I have a problem at the level of the delete it goes very well at the console but at the level in the database no changes. Thanks for you help </p>
  
  <pre><code>public void b2_action() {
     try {
             String req ="DELETE from EMPLOYEES where 'FIRST_NAME' = (?)";
             conn = macon.getConnection();
             PreparedStatement ps = conn.prepareStatement(req);
             String a= text.getValue().toString();
             System.out.println(a);
             ps.setString(1,a);
             ps.executeUpdate();
             System.out.println("okkkkkkkkkkkkkkk");
         } catch (SQLException ex) {
             ex.printStackTrace();
         }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sRELz.png" rel="nofollow noreferrer">delete</a></p>
  
  <p><a href="https://i.stack.imgur.com/haonC.png" rel="nofollow noreferrer">console</a></p>