The interface between VA Smalltalk and a DBMS is called a database manager. To use VA Smalltalk's database support, you connect to a database through a VA Smalltalk database manager. VA Smalltalk uses the following database managers:To keep track of your database connections, VA Smalltalk uses something called connection specifications. A connection specification associates an alias, which is a name that you make up to refer to your database, with a VA Smalltalk database manager and a database name or ODBC data source. You might use the alias SampleConSpec, for example, to refer to a connection to the SAMPLE database through DB2. A connection specification serves several purposes:You should be careful about changing the database manager associated with an alias. VA Smalltalk can manage a change in databases more easily than a change in database managers. You may need to migrate your application to the new database manager if you change the database manager that a connection specification points to. See the VA Smalltalk User's Guide for information on using the VA Smalltalk database application migration tool.An access set is a special part that you define and package with your application to store connection specifications, database query definitions, and stored procedure definitions. An access set tells your application which connection specifications, queries, and stored procedures it can use.Access sets are used in VA Smalltalk only. The VA Smalltalk User's Guide explains how to create an access set.
3. Send the connect message to the connection specification.
![]() |