Change class hierarchy of JDO SQL classes

Fixes https://github.com/mysema/querydsl/issues/715