Navigation:  Programming Cookbook > Database Connectivity >

Querying the Capabilities of a Data Source

Previous pageReturn to chapter overviewNext page

Your DBConnection instance is your entry point to the sample database. There are quite a few public methods available for this object. Why not locate the DBConnection class in the Class Browser and take a look at the methods in the public category. You can use a number of these to query the capabilities of the ODBC driver and underlying database engine. Try the displaying the result of sending following public accessing messages:

c dbmsName. "Display it"

c dbmsVer. "Display it"

c databaseName. "Display it"

c readOnly. "Display it"

c numericFunctions. "Display it"

c autoCommit. "Display it"