Sciweavers

CC
2010
Springer

JReq: Database Queries in Imperative Languages

14 years 6 months ago
JReq: Database Queries in Imperative Languages
Instead of writing SQL queries directly, programmers often prefer writing all their code in a general purpose programming language like Java and having their programs be automatically rewritten to use database queries. Traditional tools such as object-relational mapping tools are able to automatically translate simple navigational queries written in object-oriented code to SQL. More recently, techniques for translating object-oriented code written in declarative or functional styles into SQL have been developed. For code written in an imperative style though, current techniques are still limited to basic queries. JReq is a system that is able to identify complex query operations like aggregation and nesting in imperative code and translate them into efficient SQL queries. The SQL code generated by JReq exhibits performance comparable with hand-written SQL code.
Ming-Yee Iu, Emmanuel Cecchet, Willy Zwaenepoel
Added 18 May 2010
Updated 18 May 2010
Type Conference
Year 2010
Where CC
Authors Ming-Yee Iu, Emmanuel Cecchet, Willy Zwaenepoel
Comments (0)