Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

7.5 The Pointer Layer

The traditional benefit of the DB Interface Module lies in the value layer, which shields users from the problems of conventional pointer-based programming interfaces for databases. However, the DB Interface Module also provides a pointer layer, with pointer-based classes and methods for users who need them.

Because pointer-based interfaces are significantly more difficult and error-prone, we recommend limited use of the pointer layer. This use should be isolated to areas of a program that require a high level of explicit control; for example, where program variables must be directly bound to result-set columns, or where it is imperative that no extra copies of data are made.


Use the pointer layer only where explicit control is required.

Since the value and pointer-based classes can be used together in most cases, we suggest that you write value-based code whenever possible. Then, when you can identify specific performance concerns, you can rewrite those parts of your application code using the pointer-based classes.

Specifically, the pointer layer is exposed through:



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.