Separating oracle and mysql functionality