Extending HQL with plain recursive facilities

3Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The mismatch between relational databases and object-oriented programming languages has been significantly mitigated by the use of object-relational mapping. However, the querying facilities available in such mapping systems are still inferior when compared to the features of a fully-fledged relational DBMS. In our research we aim at enriching object-relation mapping with advanced database concepts. An example of such an aspect is recursive querying. In prequel papers we have shown how to extend Hibernates mapping configurations with comprehendible recursive views that map to SQL common table expressions. In this paper we show how one can extend Hibernate Query Language (HQL) with plain recursive query facilities based on Oracles CONNECT BY phrase. Although, unfortunately it has not become a part of the SQL standard, its properties like cleanness and guaranteed stop make it worth exploiting.We propose adding CONNECT BY to HQL.We have implemented a prototype mapping of this phrase to recursive queries in major DBMSs and tested its efficiency. As the result we have got a simple, safe and fast way to pose recursive queries in HQL. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Szumowska, A., Burzańska, M., Wiśniewski, P., & Stencel, K. (2013). Extending HQL with plain recursive facilities. In Advances in Intelligent Systems and Computing (Vol. 186 AISC, pp. 265–272). Springer Verlag. https://doi.org/10.1007/978-3-642-32741-4_24

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free