# File lib/dbd_oracle/Oracle.rb, line 104 def ping begin stmt = execute("SELECT SYSDATE FROM DUAL /* ping */") stmt.fetch stmt.finish return true rescue OCIError return false end end