Skip to content

Commit 584e78a

Browse files
yahondaclaude
andcommitted
Link to the Oracle JDBC downloads page in the LoadError message
Point users who hit the "could not load Oracle JDBC driver" error to Oracle's official JDBC downloads page so they can pick a suitable ojdbc jar for their Java version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 24e31e4 commit 584e78a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/plsql/jdbc_connection.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class JDBCConnection < Connection # :nodoc:
5151
ORACLE_DRIVER = Java::oracle.jdbc.OracleDriver.new
5252
java.sql.DriverManager.registerDriver ORACLE_DRIVER
5353
rescue NameError
54-
raise LoadError, "ERROR: ruby-plsql could not load Oracle JDBC driver. Please install Oracle JDBC driver like ojdbc17.jar."
54+
raise LoadError, "ERROR: ruby-plsql could not load Oracle JDBC driver. " \
55+
"Please install Oracle JDBC driver like ojdbc17.jar. " \
56+
"See https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html"
5557
end
5658

5759
def self.create_raw(params)

0 commit comments

Comments
 (0)