I'm about to write a JVM based open sourced tool that needs to have a model of a database schema including tables, columns, primary keys, foreign keys and column attributes (datatype, nullable, auto increment etc). I'd like to use an existing framework rather that re-inventing the wheel.
I've done a bit of googling and have found apache DDLUtils which looks like it will do the job. I'd like to assess all the options would like to hear of any frameworks that can do the following:
Also, I'd like to hear of any standardised file formats for storing the schema model. DDLUtils mentions the Turbine XML format.
I ended up writing my own services with overridable seams that reference java.sql.DatabaseMetaData by default.