{"action":"created","issue":{"url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/784","repository_url":"https://api.github.com/repos/jprante/elasticsearch-jdbc","labels_url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/784/labels{/name}","comments_url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/784/comments","events_url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/784/events","html_url":"https://github.com/jprante/elasticsearch-jdbc/issues/784","id":140910265,"number":784,"title":"Single quote not passing in the select statement.","user":{"login":"Trouble123","id":17846669,"avatar_url":"https://avatars.githubusercontent.com/u/17846669?v=3","gravatar_id":"","url":"https://api.github.com/users/Trouble123","html_url":"https://github.com/Trouble123","followers_url":"https://api.github.com/users/Trouble123/followers","following_url":"https://api.github.com/users/Trouble123/following{/other_user}","gists_url":"https://api.github.com/users/Trouble123/gists{/gist_id}","starred_url":"https://api.github.com/users/Trouble123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trouble123/subscriptions","organizations_url":"https://api.github.com/users/Trouble123/orgs","repos_url":"https://api.github.com/users/Trouble123/repos","events_url":"https://api.github.com/users/Trouble123/events{/privacy}","received_events_url":"https://api.github.com/users/Trouble123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-15T08:49:32Z","updated_at":"2016-03-15T10:08:15Z","closed_at":null,"body":"Hi\r\n\r\ni am using this to connect to our MS SQL 2012 server. All is OK, unless i need to put a string within the select statement within single quotes, ie \"Select * from tblcall where createddate > '2016-01-01'\"\r\nLooking at the log, it drops the single quotes which changes the the select statement making the where clause be just > 2016.\r\nCan anyone point me as to what i can do, looking around people suggest using \\\" instead, but SQL doesn't like the double quotes.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/comments/196752407","html_url":"https://github.com/jprante/elasticsearch-jdbc/issues/784#issuecomment-196752407","issue_url":"https://api.github.com/repos/jprante/elasticsearch-jdbc/issues/784","id":196752407,"user":{"login":"Trouble123","id":17846669,"avatar_url":"https://avatars.githubusercontent.com/u/17846669?v=3","gravatar_id":"","url":"https://api.github.com/users/Trouble123","html_url":"https://github.com/Trouble123","followers_url":"https://api.github.com/users/Trouble123/followers","following_url":"https://api.github.com/users/Trouble123/following{/other_user}","gists_url":"https://api.github.com/users/Trouble123/gists{/gist_id}","starred_url":"https://api.github.com/users/Trouble123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trouble123/subscriptions","organizations_url":"https://api.github.com/users/Trouble123/orgs","repos_url":"https://api.github.com/users/Trouble123/repos","events_url":"https://api.github.com/users/Trouble123/events{/privacy}","received_events_url":"https://api.github.com/users/Trouble123/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T10:08:15Z","updated_at":"2016-03-15T10:08:15Z","body":"Hi, your first post worked :-). i have seen your last post elsewhere, but have no idea how to put it in practice when i have multiple values that need to be in single quotes, ie:\r\n\r\nwhere tblcall.isdeleted <> '1' and tblActivity.IsDeleted <> '1' and tblTransactions.IsDeleted <> '1' and tblCall.CallId > '1174000' \r\n\r\n\r\nThanks a lot, really appreciate it"}}