Simon Chenery - 2011-12-28

Please checkout the current source code and build csvjdbc.jar.

Use the steps described in the 'Building From Source' section of
http://csvjdbc.sourceforge.net/

The current source code implements java.sql.DatabaseMetadata
methods (including getTableTypes()). The released version does not
include these methods.

You probably also need to set the database connection property
raiseUnsupportedOperationException=false to avoid exceptions
in java.sql.Connection.setAutoCommit() and other JDBC functions
that CsvJdbc does not support:

Properties props = new Properties();
props.put("raiseUnsupportedOperationException", "false");
Connection conn = DriverManager.getConnection("jdbc:relique:csv:" + dir, props);

The project administrators will release a new version of CsvJdbc soon.