Fixes for Oracle DB

As always there is some special handling for this "professional"
database required *sigh*