Added a callback for results and errors to query method in oracle-handler