title: Hibernate - INSERT QUERY doesn't work
body: <p>I'm tring to insert data from textfield into database, but my code doesn't work (although there is no errors in console), what am I doing wrong? here is a code:</p>
  
  <pre><code>        Query query = entityManager.createNativeQuery("INSERT INTO Employee(idemployee, name, lastname,"
                  + "gender, position, salary, phonenumber, adress) VALUES (:idemployee, :name, :lastname, :gender,"
                  + ":position, :salary, :phonenumber, :adress )");
  
          Employee em = new Employee();
  
          em.setEID(emplID.getText());
          em.setName(emplName.getText());
          em.setLastName(empllastName.getText());
          em.setGender(emplGender.getText());
          em.setPosition(emplPosition.getText());
          em.setSalary(emplSalary.getText());
          em.setPhonenumber(emplphoneNumber.getText());
          em.setAddress(emplAdress.getText());
  
          query.setParameter("idemployee", em.getEID());
          query.setParameter("name", em.getEID());
          query.setParameter("lastname", em.getEID());
          query.setParameter("gender", em.getEID());
          query.setParameter("position", em.getEID());
          query.setParameter("salary", em.getEID());
          query.setParameter("phonenumber", em.getEID());
          query.setParameter("adress", em.getEID());
  
          entityManager.getTransaction().commit();
  </code></pre>