I have a question.
Does the JPA(Hibernate) use a preparedStatement internally when using native update query?
Query query = EntityManager.createNativeQuery(updateSql);
//... some other codes here
query.setParameter(1, "column1");
query.setParameter(2, "column2");
query.executeUpdate();
Does the updateSql pre-compiled?