This sample illustrates the use of the local Derby database.
Time required: 2 minutes
You can use this sample only on the desktop runtime.
This sample consists of a single Client Services project, com.ibm.rcp.samples.derby.
Key concepts demonstrated in this sample are as follows:
- Creation of a Derby DataSource object
- Creation of a database within the current workspace
- Creation of a database using SQL specified in the Java™ code
- Use of PreparedStatement objects to execute SQL statements
For additional information about this sample, refer to the Derby.java class in the com.ibm.rcp.samples.derby package.
Derby setup instructionsParent topic: Samples
Derby setup instructions
To run the sample, you must import the sample into your workspace, configure it, and then start the sample.