Statement

This class contains methods that enable SQL statements to be executed and queries to generate a result set. PreparedStatement is a subclass of the Statement class that enables SQL statements to be re-executed, whereas CallableStatement is a subclass of the Statement class that provides access to stored procedures. Table A.4 describes methods belonging to the Statement class, while Table A.5 shows the Oracle extensions to the Statement class. Tables A.6 and A.8 show the methods belonging to the PreparedStatement subclass and CallableStatement subclass, respectively.

Table A.4. Methods of the Statement Class
MethodPurpose
cancelCancel a SQL statement being executed in another thread.
clearWarningsClear any existing warnings.
closeClose the ...

Get e-Commerce Applications Using Oracle8i and Java from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.