Using Statements
• ThroughtheStatementobject,SQL statements are sent to the database
• Threetypesofstatementobjectsare available:
– Statement
• For executing a simple SQL statement
– PreparedStatement
• For executing a precompiled SQL statement
passing in parameters – CallableStatement
• For executing a database stored procedure