My best guess is that there is a problem with the SQLite JDBC driver -
either a bug or they have not implemented the
DatabaseMetaData.getColumns() method.
You can check it yourself with a small Java program. This is
virtually what the generator does:
Connection c = getConnection(); // you must write the getConnection method
DatabaseMetaData dbmd = c.getMetaData();
ResultSet rs = dbmd.getColumns(catalog, schema, table, null);
If the ResultSet comes back empty, then you'll see the message your
are seeing. The driver is not throwing an error, it's just returning
nothing. So there is no better error information to display.
You'll have to experiment with values for catalog, schema, and table
to see if you can get something to come back, You can set all four
parameters to null which should return information about every column
in the database (a long list). That would give you a clue as to what
needs to be entered.
Another issue could be case sensitivity. If SQLite is case sensitive
in the metadata then you will need to specify the proper case and set
the table configuration to use delimited parameters.
As for your other question about passing in a create table statement,
there is no support for that in the generator.
Jeff Butler