Minor fixes after testing.
JDBC PreparedStatement.getMetadata now works end-to-end.