FoundationDB/sql-layer-jdbc — pull request #13 by tjoneslo (2013-12-04 20:11:06+00:00)
Title: Driver updates

This is the driver update so it says "FoundationDB" not "PostgreSQL".

Split the base Driver class into three parts. Create a new BaseDriver class with most of the basic code. The original Driver was created from a parsed file during the compiler process to capture driver version and build version information. The split allows a much smaller Driver.java.in file, with only the specific changes to that.

Create a new com.foundationdb.Driver.java.in, with a different protocol, and some other updates specific to the rename while not breaking the older Driver.

Changing the protocol ("jdbc:fdbsql:") required changing many of the tests so there are two places for the protocol to be found, the Drivers, and part of the build.[local].properties Once this is in, I'll update the test/build in jenkins to use both version (fdbsql and postgresql) of the Driver to make sure nothing gets broken.

Also changed was the DataSource and test to process the DataSources through the JNDI interface, mostly by adding the same protocol change.