moved generic methods from jdbc.Invoker to common.GenericInvoker so that Mongo functionality can reuse some of the Invoker methods