Overview of TTClasses

The TimesTen C++ Interface Classes library (TTClasses) provides wrappers around the most common ODBC functionality to allow database access. It was developed to meet the demand for an API that is easier to use than ODBC but does not sacrifice performance.

TimesTen supports:

  • ODBC 2.5, Extension Level 1, as well as some Extension Level 2 features

  • ODBC 3.51 core interface conformance

The TTClasses implementation is based on ODBC 2.5.

See TimesTen ODBC Support in Oracle TimesTen In-Memory Database C Developer's Guide. Refer to ODBC API reference documentation for general information about ODBC.

In addition to providing a C++ interface to the TimesTen ODBC interface, TTClasses supplies an interface to the TimesTen Transaction Log API (XLA), which is supported by TimesTen Classic. XLA allows an application to monitor one or more tables in a database. When other applications change that table, the changes are reported through XLA to the monitoring application. TTClasses provides a convenient interface to the most commonly used aspects of XLA functionality. For general information about XLA, see XLA and TimesTen Event Management in Oracle TimesTen In-Memory Database C Developer's Guide.

TTClasses is also 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 in TTClasses compared to hand-coded ODBC.