ODBTalk Base Classes

Class Hierarchy Diagram

Class Hierarchy Chart

Class Descriptions

1.1.1 ODBCDLL

ODBCDLL contains all the api calls supported by the ODBC SDK 2.0 specification. All instance methods in this class are private.

Superclasses:

DynamicLinkLibrary ExternalHandle Object

1.1.2 OdbcStatementObject

This class is an abstract class for all ODBTalk classes encapsulating ODBC statements.

It includes the common protocol for opening and closing statements, execution and handling of results.

Superclasses:

OdbcObject Object

Subclasses:

OdbcQuery OdbcStatement OdbcParamQuery OdbcTable

1.1.3 OdbcObject

This class is an abstract class for all the ODBTalk classes interfacing to the ODBCDLL class. It contains the error protocol for all ODBC related classes and provide methods to retrieve and set information that is common in the ODBC environment.

Superclasses:

Object

Subclasses:

OdbcConnection OdbcStatementObject OdbcQuery OdbcStatement
OdbcParamQuery OdbcTable

1.1.4 OdbcParamQuery

This class is an abstraction for simple parametrized sql statements. Its protocol is simple and easy to use. It executes SQL statements and retuns a set of rows. No facilities are provided for row at a time manipulation, output parameters ... (use OdbcStatement).

Superclasses:

OdbcStatement OdbcStatementObject OdbcObject Object

1.1.5 OdbcStatement

This class is an abstraction for an ODBC Statement. Its includes support for cursors, parametrized statements (input, output and inout), block statement execution ...

Superclasses:

OdbcStatementObject OdbcObject Object

Subclasses:

OdbcParamQuery

1.1.6 OdbcRow

This class is an encapsulation of a database row. Somewhat of a cross between a Dictionary and an Array it can retrieve column values by column name or column position.

Column type information can be retrieved using the row header.

Superclasses:

Object

1.1.7 OdbcTable

This is an abstraction of a database table. Its protocol includes table and column information as well as browsing the contents (i.e. the rows) of a table.

Superclasses:

OdbcStatementObject OdbcObject Object

1.1.8 OdbcParamRow

This class is used to store parameter values for a parametrized statement. Information about the parameter type, length ... can be retrieved from its header.

This class is private. Use the public methods of OdbcStatement to get/set parameter information.

Superclasses:

Object

1.1.9 OdbcParamHeader

instances of this class contain column information for parametrized instances of OdbcStatmentObject. It contains the parameter names, types, lengths ...

Superclasses:

Object

1.1.10 OdbcQuery

This class is an abstraction for simple sql statements. Its protocol is simple and easy to use. It executes SQL statements and retuns a set of rows. No facilities are provided for row at a time manipulation, parametrized statements ... (use OdbcStatement).

Superclasses:

OdbcStatementObject OdbcObject Object

1.1.11 OdbcRowHeader

instances of this contains column information for instances of OdbcStatmentObject. They contain the column names, types, lengths ...

Superclasses:

Object

1.1.12 OdbcConnection

This class is an encapsulation of ODBC connections. Its protocol includes creating, starting and disconnecting connections as well as transaction control. It also provides methods to open statements and retrieve information about the connected data source.

Since there can be multiple opened ODBC connections to data sources, there may be many active (i.e. connected) instances of this class.

Superclasses:

OdbcObject Object

ODBTalk Table of contents


|| Home || ODBTalk || Services || Distributors || News Releases || Support || Contact LPC ||

Copyright © 1996 LPC Consulting Services Inc.

last edited May 15th, 1996