Java API for SQL Data Definition Language [closed]
Many object-relational mapping frameworks come with tools to generate domain model classes out of an existing schema, or create (or even update) a schema to match the domain model classes.
In particular, hibernate can do this, see
http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html_single/#toolsetguide-s1