Making C++ Object Persistent by Using a Standard Relational Database System

  • Paul Andlinger
  • Christian Gierlinger
  • Gerald Quirchmayr
Conference paper


This paper describes an approach for making objects created in C+ + persistent by linking C+ + to a relational database system. In a first step the necessary concepts and the underlying data model are introduced. In a second step we give an overview of the API and its use in C++. To support the decomposition of complex data types into flat relations we introduce a precompiler. For the implementation of the prototype we choose the relational DBMS Oracle. In order to make the system portable to other relational DBMS we have made it as transparent as possible. Finally we give an example to demonstrate the prototypes functionality and compare the results of our approach with the demands stated in the OODB manifesto [2].


Instance Variable Member Function Relational Database System Object Persistent Class Declaration 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    M. Atkinson, P. J. Bayley, K. Chilsom, W. Cockshott, R. Morrison, An approach to persistent programming, Computer Journal 26 (4), pp 360–265, 1983.MATHCrossRefGoogle Scholar
  2. [2]
    M. Atkinson, F. Bancilhon, D. DeWitt, K. Dittrich, D. Maier, S. Zdonik, The object-oriented database system manifesto (a political pamphlet), Proc. DOOD 89, Kyoto, Japan, December 1989.Google Scholar
  3. [3]
    J. Eder, G. Kappet, A Min Tjoa, R.R. Wagner, BIER - The Behavior Integrated Entity Relationship Approach, Proc. 5th, Int. Conference on ER-Approach, Dijon, 1986.Google Scholar
  4. [4]
    J. Eder, G. Kappe!, A Min Tjoa, R.R. Wagner, A Behavior Design Methodology for Information Systems, Proc. IEEE 6th, Int. Conference on Computers and Communications, Phoenix, 1987.Google Scholar
  5. [5]
    K. R. Dittrich, Object-oriented database systems: the next miles of the marathon, Information Systems, Vol. 15, No. 1, pp. 161–167, 1990.CrossRefGoogle Scholar
  6. [6]
    Ch. Gierlinger, K. Reisinger, A M. Toja, R. R. Wagner: Update-Dependencies in Dynamic Data Models for Office Information Systems, International Conference on Organizations and Information Systems, Yugoslavia, Bled, Conf. Proc., 1989.Google Scholar
  7. [7]
    Ch. Gierlinger, F. Kastner, R. R. Wagner, BIER ‘80, The Behavior Integrated Entity Relationship Model ‘80, in print in Bibliotheka Informatyki Szkol Wyzszych, Pub. M. Bazewicza, Wroclaw, Polen, 1990.Google Scholar
  8. [8]
    Oracle Corporation, Pro*C User’s Guide, Belmont CA, 1987.Google Scholar
  9. [9]
    J. L. Peterson: Petri Net Theory and the Modelling of Systems, Prentice Hall, 1981.Google Scholar
  10. [10]
    B. Stroustrup, The C++ Programming Language, Addison-Wesley 1986.Google Scholar
  11. [11]
    R. S. Wiener, L. J. Pinson, An Introduction to Object-Oriented Programming and C++, Addison-Wesley, 1988.Google Scholar

Copyright information

© Springer-Verlag Wien 1991

Authors and Affiliations

  • Paul Andlinger
    • 1
  • Christian Gierlinger
    • 2
  • Gerald Quirchmayr
    • 1
  1. 1.Institut für InformatikJohannes Kepler University LinzLinzAustria
  2. 2.FAW Forschungsinstitut für Anwendungsorientierte Wissensverarbeitung Institut für InformatikJohannes Kepler University LinzLinzAustria

Personalised recommendations