ENG-5359 New JDBC and ad hoc parameterization support

Merge will provide both ENG-5359 and ENG-3236-adhocparams changes since the former merged from the latter.