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.
Parent topic: Samples: XPD622
Derby setup instructions: XPD622
DB2 Everyplace: XPD622