How to connect to Oracle using JRuby & JDBC

后端 未结 4 751
鱼传尺愫
鱼传尺愫 2020-12-29 01:00

First approach: bare metal

require \'java\'
require \'rubygems\'
require \"c:/ruby/jruby-1.2.0/lib/ojdbc14.jar\"  # should be redundant, but tried it anyway
         


        
4条回答
  •  别那么骄傲
    2020-12-29 01:21

    Have you got the Oracle client installed? you probably need at least the jdbc driver files from the client

提交回复
热议问题