Skip Headers
Oracle® TimesTen In-Memory Database TTClasses Guide
Release 11.2.1

Part Number E13074-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

1 Introduction to TTClasses

This chapter includes the following topics:

Overview of TTClasses

The Oracle TimesTen In-Memory Database provides high performance through a standard ODBC and SQL interface. Unlike other RDBMS implementations of ODBC, access to TimesTen row ODBC is extremely fast. The TimesTen C++ Interface Classes (TTClasses) was developed to meet the demand for an API that is easier to use than ODBC, but does not sacrifice performance. This C++ class library provides wrappers around the most common ODBC functionality. Using this library allows easier interaction with TimesTen data stores.

In addition, the TTClasses library is intended to promote best practices when writing application software that uses the TimesTen Data Manager. The library uses TimesTen in an optimal manner. For example, autocommit is disabled by default. Parameterized SQL is strongly encouraged, and its use is greatly simplified when compared to hand-coded ODBC.

Scope of TTClasses

TTClasses is a wrapper around all major ODBC functionality.

In addition to providing a C++ interface to TimesTen's ODBC interface, TTClasses also provides an interface to the TimesTen's Transaction Log API (XLA). XLA allows an application to monitor one or more tables in a TimesTen data store. When other applications change that table, the changes are reported through XLA to the monitoring application. TTClasses provides an easy-to-use interface to the most commonly used aspects of XLA functionality. For more information about XLA, see the chapter "XLA and TimesTen Event Management" in the Oracle TimesTen In-Memory Database C Developer's Guide.

Note:

TTClasses has been integrated with TimesTen since release 6.0. Previous versions of TTClasses were distributed separately from TimesTen, so earlier versions of TTClasses were compatible with multiple TimesTen versions. Starting with TimesTen 6.0, TTClasses is no longer tested or supported in combination with any other TimesTen release besides the release that it ships with.