GSoC/GCI Archive
Google Summer of Code 2009 The Codehaus

Refactor generation of SQL queries

by GSOC_Hassan for The Codehaus

Castor is an Open Source data binding framework for Java. It provides Java-XML binding and Java-SQL Persistence etc. The object query language supported by Castor is very limited. Castor uses descriptor classes at every step of query construction and for fetching of results which is an overhead and second problem is to keep the SQL column list passed, to be in synchronization with the sequence of columns in the resultset. To address these problems, there is a need to standardize the query engine