We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0716281 + 75f54a0 commit d82ef3bCopy full SHA for d82ef3b
lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb
@@ -16,7 +16,8 @@
16
# Oracle 11g client ojdbc6.jar is also compatible with Java 1.7
17
# Oracle 12c Release 1 client provides ojdbc7.jar
18
# Oracle 12c Release 2 client provides ojdbc8.jar
19
- ojdbc_jars = %w(ojdbc8.jar ojdbc7.jar ojdbc6.jar)
+ # Oracle 21c provides ojdbc11.jar for Java 11 and above
20
+ ojdbc_jars = %w(ojdbc11.jar ojdbc8.jar ojdbc7.jar ojdbc6.jar)
21
22
if !ENV_JAVA["java.class.path"]&.match?(Regexp.new(ojdbc_jars.join("|")))
23
# On Unix environment variable should be PATH, on Windows it is sometimes Path
0 commit comments