From Apache OpenOffice Wiki
The basic procedure to communicate with a database using an SQL statement is always the same:
- Get a connection object.
- Ask the connection for a statement.
- The statement executes a query or an update command. Use the appropriate method to execute the command.
- If the statement returns a result set, process the result set.
|Content on this page is licensed under the Public Documentation License (PDL).|