Skip to content

Commit

Permalink
SQL Server Sink: with 11.2.0.jre11 there are troubles connecting to S…
Browse files Browse the repository at this point in the history
…QL Server

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 26, 2022
1 parent 068cf42 commit 054f83b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion kamelets/sqlserver-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,20 @@ spec:
title: Database Name
description: The name of the SQL Server Database.
type: string
encrypt:
title: Encrypt Connection
description: Encrypt the connection to SQL Server.
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
trustServerCertificate:
title: Trust Server Certificate
description: Trust Server Ceritificate
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: true
types:
in:
mediaType: application/json
Expand All @@ -102,7 +116,7 @@ spec:
- key: password
value: '{{password}}'
- key: url
value: 'jdbc:sqlserver://{{serverName}}:{{serverPort}};databaseName={{databaseName}}'
value: 'jdbc:sqlserver://{{serverName}}:{{serverPort}};databaseName={{databaseName}};encrypt={{encrypt}};trustServerCertificate={{trustServerCertificate}};'
- key: driverClassName
value: 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
from:
Expand Down

0 comments on commit 054f83b

Please sign in to comment.