View RSS Feed

Recent Blogs Posts

  1. Overview of Prepared Statements

    by , 04-27-2012 at 07:06 PM
    Sometimes it is more convenient to use a PreparedStatement object for sending SQL statements to the database. This special type of statement is derived from the more general class, Statement, that you already know.

    If you want to execute a Statement object many times, it usually reduces execution time to use a PreparedStatement object instead.

    The main feature of a PreparedStatement object is that, unlike a Statement object, it is given a SQL statement when it is created. ...