Executing SQL Statements in InterClient Programs
Go Up to Developing InterClient Programs
After creating a Connection object, you can use it to obtain a Statement object that encapsulates and executes SQL statements and returns a result set.
There are three java.sql classes for executing SQL statements:
StatementPreparedStatementCallableStatement