From 8a27e1a96e5d8ebc88aca27a551e604ecce0478b Mon Sep 17 00:00:00 2001 From: Collin Simon Date: Mon, 1 Feb 2021 19:47:41 +0000 Subject: [PATCH] Add ApplicationIntent=ReadOnly to connection string --- src/tap_mssql/config.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tap_mssql/config.clj b/src/tap_mssql/config.clj index 8332ff7..8de4724 100644 --- a/src/tap_mssql/config.clj +++ b/src/tap_mssql/config.clj @@ -15,7 +15,8 @@ :host (config "host") :port (or (config "port") 0) ;; port is optional - if omitted it is set to 0 for a dynamic port :password (config "password") - :user (config "user")} + :user (config "user") + :ApplicationIntent "ReadOnly"} conn-map (if (= "true" (config "ssl")) ;; TODO: The only way I can get a test failure is by ;; changing the code to say ":trustServerCertificate