Make some Db classes shared between oracle and client