Loading database features
Before adding database functions to an application, you need to load a VA Smalltalk database support feature into your image. VA Smalltalk supplies the following database support features with the base code:
IBM Database -- CLI
Native support for IBM DATABASE 2 (DB2).
ODBC Support
Support for ODBC access to databases. This support gives you access to virtually any relational database
Native Oracle Database
Native support for ORACLE.
SQLite
Native support for SQLite3. In the initial release (8.6.1), VA Smalltalk does not support SQLite in the visual programming environment (composition editor, parts, etc). Please jump to the Database programming guide section of this book to work with SQLite.
To install a feature, follow these steps:
1. From the Options menu in the Organizer, select Load\Unload Features.
A window appears, listing features that you can load into your image on the left under Available features and features that are already loaded on the right under Loaded features.
2. Select the features you want from the Available features list, select >>, and then select OK.
If you want to follow the examples in this chapter, select the following:
a. VA: Database DB2 CLI Samples
b. VA: Database, Common Samples
c. VA: Database, Static DB2 Support
d. ST: Database, SQLite
Messages are sent to the System Transcript window indicating the progress of the load, which can take several minutes.
3. Be sure to save your image when prompted.
Last modified date: 01/29/2015