Oracle® TimesTen In-Memory Database TTClasses Guide Release 11.2.1 Part Number E13074-02 |
|
|
View PDF |
This chapter includes the following topics:
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.
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.