added jdbc functionality 

All tests are to be done using Spock where possible.