FoundationDB/sql-layer-jdbc — pull request #1 by tjoneslo (2013-11-05 03:06:46+00:00)
Title: Fdb sql layer changes

Update the JDCB driver to include support for the FoundationDB SQL layer. This is compatible at the wire level with postgres, and some of the higher level functionality, but a great deal of the PostreSQL SQL functionality is not supported.

The JDBC driver relies on the FDB SQL Layer sending a server_version number of 8.5.1 (see separate commit) to flag communication to the FDB SQL Layer vs. a real database.

The biggest changes are to add new queries to the AbstractJdbc2DatabaseMetaData to query the underlying data from our Information_schema tables rather than the pg_catalog tables.

The bulk of the changes are modifying the tests to work around the Postgres functionality the FDB SQL layer does not support, but is used in the testing. There is a separate google doc with the list of issues.

There is still one outstanding server bug with managing parameter metadata to prepared statements causing NPEs on the server: https://trello.com/c/izukbykc