Skip to content

Commit e3aac26

Browse files
authored
Merge pull request #1992 from gooddata/STL-810
STL-810: Fixing error invalid object when connect to MSSQL and Redshift data sources
2 parents e915fd9 + 5205bef commit e3aac26

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.72
1+
3.7.73

lib/gooddata/cloud_resources/mssql/mssql_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def connect
9191
prop.setProperty('userName', authentication['userName'])
9292
prop.setProperty('password', authentication['password'])
9393

94-
@connection = com.microsoft.sqlserver.jdbc.SQLServerDriver.new.connect(@url, prop)
94+
@connection = com.microsoft.sqlserver.jdbc.SQLServerDriver.new.connect(connection_string, prop)
9595
end
9696

9797
def validate

lib/gooddata/cloud_resources/redshift/redshift_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def connect
8484
prop.setProperty('DbUser', @authentication['iam']['dbUser'])
8585
end
8686

87-
@connection = com.amazon.redshift.jdbc42.Driver.new.connect(@url, prop)
87+
@connection = com.amazon.redshift.jdbc42.Driver.new.connect(full_url, prop)
8888
end
8989

9090
private

0 commit comments

Comments
 (0)