Update the error message to support JDBC and OCI connections

This pull request addresses a failure when tested with JRuby.
As long as this test checks to see if `ORA-1438` generated in the error message it satisfies the test purpose.