The JaxMeJS Java source generator does now include
a generator framework for SQL statements. By defining
an object tree matching your schema, tables and
columns, you may derive CREATE, INSERT or
SELECT statements from the object tree. The framework
is available from http://jaxme.sf.net/JaxmeJS