Oracle TimesTen In-Memory Database TTClasses Guide
Release 7.0
B31691-03
Copyright ©1996, 2007, Oracle. All rights reserved.
ALL SOFTWARE AND DOCUMENTATION (WHETHER IN HARD COPY OR ELECTRONIC FORM) ENCLOSED AND ON THE COMPACT DISC(S) ARE SUBJECT TO THE LICENSE AGREEMENT.
The documentation stored on the compact disc(s) may be printed by licensee for licensee’s internal use only. Except for the foregoing, no part of this documentation (whether in hard copy or electronic form) may be reproduced or transmitted in any form by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without the prior written permission of TimesTen Inc.
Oracle, JD Edwards, PeopleSoft, Retek, TimesTen, the TimesTen icon, MicroLogging and Direct Data Access are trademarks or reg-istered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
The Programs (which include both the software and documenta-tion) contain proprietary information; they are provided under a li-cense agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or de-compilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your li-cense agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, elec-tronic or mechanical, for any purpose.
September 2007
Printed in the United States of America
Contents
About this Guide
TimesTen documentation . . . . . . . . . . . . . . . . . . . . . 1
Background reading . . . . . . . . . . . . . . . . . . . . . . . 2
Conventions used in this guide . . . . . . . . . . . . . . . . . . . 3
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . 5 1Introduction to TTClasses
Overview of TTClasses . . . . . . . . . . . . . . . . . . . . . . 7
Scope of TTClasses. . . . . . . . . . . . . . . . . . . . . . . . 7 2Compiling TTClasses
Compiling TTClasses on UNIX. . . . . . . . . . . . . . . . . . . 9
Compiling TTClasses on Windows . . . . . . . . . . . . . . . . . 9
Compilation options . . . . . . . . . . . . . . . . . . . . . . .10 Compiling TTClasses for client/serv
er mode . . . . . . . . . . . .10 Installing TTClasses after compilation (UNIX only). . . . . . . . . . .11
TTClasses compiler macros . . . . . . . . . . . . . . . . . . . .11 TTEXCEPT: Throw C++ exceptions . . . . . . . . . . . . . . .11
USE_OLD_CPP_STREAMS: Use old C++ iostream code . . . . . . .11
TTDEBUG:Generate additional debugging and error checking logic . . .12
TT_64BIT: Use TTClasses with 64-bit TimesTen . . . . . . . . . .12
Platform-specific compiler macros . . . . . . . . . . . . . . . .12 3Class Descriptions
Commonly used TTClasses . . . . . . . . . . . . . . . . . . . .14 TTStatus . . . . . . . . . . . . . . . . . . . . . . . . . .15
TTConnection . . . . . . . . . . . . . . . . . . . . . . . .19
TTCmd . . . . . . . . . . . . . . . . . . . . . . . . . . .25
TTConnectionPool . . . . . . . . . . . . . . . . . . . . . .44
TTGlobal (logging) . . . . . . . . . . . . . . . . . . . . . .47 System catalog classes . . . . . . . . . . . . . . . . . . . . . .50 TTCatalog . . . . . . . . . . . . . . . . . . . . . . . . . .51
TTCatalogTable. . . . . . . . . . . . . . . . . . . . . . . .54
TTCatalogColumn. . . . . . . . . . . . . . . . . . . . . . .56
TTCatalogIndex . . . . . . . . . . . . . . . . . . . . . . .58 XLA classes . . . . . . . . . . . . . . . . . . . . . . . . . .60 TTXlaPersistConnection . . . . . . . . . . . . . . . . . . . .61
TTXlaRowViewer. . . . . . . . . . . . . . . . . . . . . . .65
iii
TTXlaTableHandler . . . . . . . . . . . . . . . . . . . . . .69
TTXlaTableList. . . . . . . . . . . . . . . . . . . . . . . .72 Internal classes . . . . . . . . . . . . . . . . . . . . . . . . .74 4Using TTClasses
Using TTCmd, TTConnection, and TTStatus. . . . . . . . . . . . . .75
TTClasses logging . . . . . . . . . . . . . . . . . . . . . . . .77
Using XLA classes . . . . . . . . . . . . . . . . . . . . . . . .78
Acknowledging XLA updates at transaction boundaries . . . . . . . . .78 Index
iv Oracle TimesTen In-Memory Database TTClasses Guide
About this Guide
Oracle TimesTen In-Memory Database is a high-performance, in-memory
database that supports the ODBC and JDBC interfaces. The TimesTen C++
Interface Classes (TTClasses) library was written to provide an easy-to-use,
high-performance interface to Oracle TimesTen In-Memory Database. This C++
class library provides wrappers around the most common ODBC functionality.
This guide is for application developers who use and administer TimesTen
ODBC.
To work with this guide, you should understand how database systems work. You
should also have knowledge of SQL (Structured Query Language) and ODBC.
TimesTen documentation
TimesTen documentation is available on the product distribution media and on
the Oracle Technology Network:
acle/technology/documentation/timesten_doc.html.
Including this guide, the TimesTen documentation set consists of these
documents:
Book Titles Description
Oracle TimesTen In-Memory Database Installation Guide Contains information needed to install and configure TimesTen on all supported platforms.
Oracle TimesTen In-Memory Database Introduction Describes all the available features in the Oracle TimesTen In-Memory Database.
Oracle TimesTen In-Memory Database Operations Guide Provides information on configuring TimesTen and using the ttIsql utility to manage a data store. This guide also provides a basic tutorial for TimesTen.
Oracle TimesTen In-Memory Database C Developer’s and Reference Guide
truncated在存储过程中怎么使用and the
Oracle TimesTen In-Memory Database Java Developer’s and Reference Guide Provide information on how to use the full set of available features in TimesTen to develop and implement applications that use TimesTen.
Oracle TimesTen In-Memory Database API Reference Guide Describes all TimesTen utilities, procedures, APIs and provides a reference to other features of TimesTen.
About this Guide1
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论