4 Replies Latest reply on Aug 10, 2011 4:11 PM by alwu-Oracle

    Java- PreparedStatement Vs Jena-QueryExecutionFactory/QueryFactory

      PreparedStatement pstmt = connection.prepareStatement(sqlString);


      QueryExecution qe = QueryExecutionFactory.create(SPARQL_QUERY, model);

      Which is better in performance PreparedStatement or QueryExecutionFactory? As there is no class called
      PreparedStatement in Jena. I mean we have sqlstatement as precompiled when we used PreparedStatement in java,
      is it same with Jena?