{"action":"opened","issue":{"url":"https://api.github.com/repos/SOCI/soci/issues/287","labels_url":"https://api.github.com/repos/SOCI/soci/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/SOCI/soci/issues/287/comments","events_url":"https://api.github.com/repos/SOCI/soci/issues/287/events","html_url":"https://github.com/SOCI/soci/issues/287","id":60501034,"number":287,"title":"Big std::strings in nvarchar(max)s via ODBC fails with HY104","user":{"login":"Superlokkus","id":226051,"avatar_url":"https://avatars.githubusercontent.com/u/226051?v=3","gravatar_id":"","url":"https://api.github.com/users/Superlokkus","html_url":"https://github.com/Superlokkus","followers_url":"https://api.github.com/users/Superlokkus/followers","following_url":"https://api.github.com/users/Superlokkus/following{/other_user}","gists_url":"https://api.github.com/users/Superlokkus/gists{/gist_id}","starred_url":"https://api.github.com/users/Superlokkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Superlokkus/subscriptions","organizations_url":"https://api.github.com/users/Superlokkus/orgs","repos_url":"https://api.github.com/users/Superlokkus/repos","events_url":"https://api.github.com/users/Superlokkus/events{/privacy}","received_events_url":"https://api.github.com/users/Superlokkus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T13:44:40Z","updated_at":"2015-03-10T13:44:40Z","closed_at":null,"body":"Hi, soci throws odbc_soci_error when the std::string I use is very long (4096 worked but failed at 29906).\r\nThe ODBC error code is HY104, so I guess soci does not handle big strings right (to be fair due typical ODBC driver implementation limitations), or I overlooked the way to handle them with soci. The according column is defined as nvarchar(max), the server is an MS SQLServer 2008RC2 and the ODBC-Driver uses the SQL Server Native Client 11.0 on Windows 7 Prof."}}