DocumentCode :
2706252
Title :
Safe query objects: statically typed objects as remotely executable queries
Author :
Cook, William R. ; Rai, Siddhartha
Author_Institution :
Dept. of Comput. Sci., Texas Univ., Austin, TX, USA
fYear :
2005
fDate :
15-21 May 2005
Firstpage :
97
Lastpage :
106
Abstract :
Developers of data-intensive applications are increasingly using persistence frameworks such as EJB, Hibernate and JDO to access relational data. These frameworks support both transparent persistence for individual objects and explicit queries to efficiently search large collections of objects. While transparent persistence is statically typed, explicit queries do not support static checking of types or syntax because queries are manipulated as strings and interpreted at runtime. This paper presents safe query objects, a technique for representing queries as statically typed objects while still supporting remote execution by a database server. Safe query objects use object-relational mapping and reflective metaprogramming to translate query classes into traditional database queries. The model supports complex queries with joins, parameters, existentials, and dynamic criteria. A prototype implementation for JDO provides a type-safe interface to the full query functionality in the JDO 1.0 standard.
Keywords :
persistent objects; query processing; relational databases; type theory; explicit queries; object-relational mapping; reflective metaprogramming; relational data; remotely executable queries; safe query objects; statically typed objects; transparent persistence; type-safe interface; Application software; Computer languages; Engineering management; Java; Marine animals; Prototypes; Relational databases; Runtime; Software engineering; Software prototyping;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering, 2005. ICSE 2005. Proceedings. 27th International Conference on
Print_ISBN :
1-59593-963-2
Type :
conf
DOI :
10.1109/ICSE.2005.1553552
Filename :
1553552
Link To Document :
بازگشت