WHAT IS THE DIFFERENCE BETWEEN STATEMENT AND PREPAREDSTATEMENT INTERFACE?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 950  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is the difference between Statement and PreparedStatement interface?

    In case of Statement, query is complied each time whereas in case of PreparedStatement, query is complied only once. So performance of PreparedStatement is better than Statement.

      Modified On Mar-28-2018 03:42:59 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!