issue #18406: passing databasetype to used dispatch call
Merge pull request #31 from shackbarth/18406

issue #18406: passing databasetype to used dispatch call