Originally posted by Steve Wood:
Is there a way to use JDBC data types to create tables in any database?
Well, you could certainly do that (in fact, schema generating O/R mappers do something very much like that), but the real problem is that tables usually have relationships between them that need to be captured in the data definitions (primary keys and foreign key constraints for example) and JDBC can't provide that information (the O/R mappers I mentioned either examine Java object relations to generate that, or require some external metadata files).
In other words, you can get maybe halway there from the information in JDBC, but there just isn't enough there to do the whole thing correctly.