Skip to content

Commit

Permalink
Merge pull request #1992 from gooddata/STL-810
Browse files Browse the repository at this point in the history
STL-810: Fixing error invalid object when connect to MSSQL and Redshift data sources
  • Loading branch information
jimirocks authored Sep 25, 2024
2 parents e915fd9 + 5205bef commit e3aac26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.72
3.7.73
2 changes: 1 addition & 1 deletion lib/gooddata/cloud_resources/mssql/mssql_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def connect
prop.setProperty('userName', authentication['userName'])
prop.setProperty('password', authentication['password'])

@connection = com.microsoft.sqlserver.jdbc.SQLServerDriver.new.connect(@url, prop)
@connection = com.microsoft.sqlserver.jdbc.SQLServerDriver.new.connect(connection_string, prop)
end

def validate
Expand Down
2 changes: 1 addition & 1 deletion lib/gooddata/cloud_resources/redshift/redshift_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def connect
prop.setProperty('DbUser', @authentication['iam']['dbUser'])
end

@connection = com.amazon.redshift.jdbc42.Driver.new.connect(@url, prop)
@connection = com.amazon.redshift.jdbc42.Driver.new.connect(full_url, prop)
end

private
Expand Down

0 comments on commit e3aac26

Please sign in to comment.