lib/jvertica.rb in jvertica-0.0.1 vs lib/jvertica.rb in jvertica-0.0.2
- old
+ new
@@ -40,10 +40,10 @@
@connection = begin
DriverManager.getConnection "jdbc:vertica://#{host}:#{port}/#{database}", prop
rescue => e
raise ConnectionError.new("Connection Failed.\n" +
"Error Message => #{e.message}\n" +
- "see documentation => #{@@connection_property_document_url}\n")
+ "see documentation => #{Constant::CONNECTION_PROPERTY_DOCUMENT_URL}\n")
end
end
def close
@connection.close