Tweaked connection methods to invoke different behaviour for db and server level operations