Skip to content

Commit ddb4465

Browse files
authored
Merge pull request #192 from yahonda/remove_native_extension
Replace `NativeException` with `Java::JavaSql::SQLException`
2 parents f703531 + e8b91d1 commit ddb4465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_connection(user_number = 0)
8585
OCI8.new(database_user, database_password, get_connection_url)
8686
end
8787
else
88-
try_to_connect(NativeException) do
88+
try_to_connect(Java::JavaSql::SQLException) do
8989
java.sql.DriverManager.getConnection(get_connection_url, database_user, database_password)
9090
end
9191
end

0 commit comments

Comments
 (0)