reintroduced tmp workaround for DBD::Oracle bug (will only be fixed in v1.61)
adapt for SQLAM 1.14