Skip to main content

On Adding a Query Language to a Persistent Object System

  • Conference paper
Modular Programming Languages (JMLC 2000)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1897))

Included in the following conference series:

  • 262 Accesses

Abstract

Object oriented programming languages as well as persistent object systems are usually accessed by explicit navigation along the relations (i.e. the pointers) between the objects. End users of a ”database”, however, prefer to have a query language, which allows them to specify database queries regardless of the mechanism that is used to navigate through the database. In this paper we show a simple technique for adding a query language to an object-oriented programming language. We translate the query, in our case an OQL query, into a program and execute this resulting program. So an ordinary program offers the results of the queries. The compilation and execution is done ”on the fly”, which means that the user is not aware of the translation. In this paper we present how the translator works, how to write such a translator, and the advantages of our chosen method.

Markus Knasmüller is on leave from Johannes Kepler University Linz, Department of Practical Computer Science (Systemsoftware).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Catell, R.G.G. (ed.): The Object Database Standard: ODMG 1993. Addision Wesley, Reading (1996)

    Google Scholar 

  2. Knasmüller, M.: Adding Persistence to the Oberon System. In: Mössenböck, H. (ed.) JMLC 1997. LNCS, vol. 1204. Springer, Heidelberg (1997)

    Google Scholar 

  3. Wirth, N., Gutknecht, J.: The Oberon System, Software – Practise and Experiences 19(9) (1989)

    Google Scholar 

  4. Agrawal, R., Gehani, N.H.: Ode: The Language and the Data Model. In: Proc. ACM SIGMOD 1989 Int’l Conf. Management of Data, Portland, Oregon, pp. 36–45 (1989)

    Google Scholar 

  5. Deux, O.: The Story of O2. IEEE Trans. on Knowledge and Data Enginnering 2(1), 91–108 (1990)

    Article  Google Scholar 

  6. Fishman, D., et al.: Overview of the Iris DBMS. In: Kim, W., Lochovsky, F. (eds.) Object-Oriented Concepts, Databases, and Applications, pp. 219–250. Addision Wesley, Reading (1989)

    Google Scholar 

  7. Sakkinen, M.: More about ODMG-93 standard, and a bit about manifestos, Technical Report, Johannes Kepler University of Linz (1996)

    Google Scholar 

  8. Mössenböck, H.: A Generator for Production Quality Compilers. In: Proc. of 3rd Int. Compiler-Compiler Workshop, Schwerin, Schwerin. LNCS, Springer, Heidelberg (1991)

    Google Scholar 

  9. Knasmüller, M.: Oberon-D On Adding Database Functionality to an Object-Oriented Development Environment. Trauner-Verlag, Linz (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Knasmüller, M. (2000). On Adding a Query Language to a Persistent Object System. In: Weck, W., Gutknecht, J. (eds) Modular Programming Languages. JMLC 2000. Lecture Notes in Computer Science, vol 1897. Springer, Berlin, Heidelberg. https://doi.org/10.1007/10722581_15

Download citation

  • DOI: https://doi.org/10.1007/10722581_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67958-5

  • Online ISBN: 978-3-540-44519-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics