Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days
by Mandar S. Chitnis, Lakshmi Ananthamurthy, Pravin S. Tiwari
The Statement Interface
The Statement interface is the base interface in the JDBC API. A Statement interface is implemented by the JDBC driver to provide the ability to execute SQL statements from Java applications using the JDBC API and the JDBC driver. A Statement object is created from a database connection obtained either by loading and initializing the JDBC driver, or from the connection pool configured in the WebLogic Server.
Yesterday you saw all the ways a WebLogic Server configures connection pools for databases using the JDBC driver. You can create and close any number of Statement objects in your JDBC application.
A programmer uses the Statement object as a handle to interact with the database. The SQL statement types that the Statement ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access