lib/libis/services/rosetta_db/client.rb in libis-services-1.0.0 vs lib/libis/services/rosetta_db/client.rb in libis-services-1.0.1
- old
+ new
@@ -12,10 +12,10 @@
@user = user
@password = password
end
def connect
- @oracle = OracleClient.new(@url, @user, @password)
+ @oracle = OracleClient.new("#{@user}/#{@password}@#{@url}")
end
def set_schema(schema)
@oracle.execute("alter session set current_schema = #{schema}")
end