fixed empty result problem in Oracle database module