다음과 같이 rails app의 데이터베이스를 구성했습니다.jruby 및 oracle_enhaced 어댑터와의 잘못된 연결 문자열
test:
adapter: oracle_enhanced
host: localhost
database: localhost:1521/xe
username: test
password: test
pool: 50
wait_timeout: 10
tns: xe
그것은 REE와 oracled_enhanced 어댑터를 사용하여 작동하지만 JRuby에서 작동하지 않는 대신 다음과 같은 오류 제공 :
% rake spec
(in /home/xxxxxxxx)
rake aborted!
java.sql.SQLException: Io exception: Invalid connection string format, a valid format is: "host:port:sid"
나는 아직 실제 연결 문자열을 인쇄 얻을 수 없었다을 그것을 사용하려고 시도합니다. --trace
으로 레이크를 돌리는 것도 도움이되지 않습니다. 내가 어떻게이 일을 얻을 수있는 아이디어?