{"action":"opened","issue":{"url":"https://api.github.com/repos/datamapper/do/issues/81","labels_url":"https://api.github.com/repos/datamapper/do/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/datamapper/do/issues/81/comments","events_url":"https://api.github.com/repos/datamapper/do/issues/81/events","html_url":"https://github.com/datamapper/do/issues/81","id":64903801,"number":81,"title":"Case sensitive error message test","user":{"login":"dkubb","id":133,"avatar_url":"https://avatars.githubusercontent.com/u/133?v=3","gravatar_id":"","url":"https://api.github.com/users/dkubb","html_url":"https://github.com/dkubb","followers_url":"https://api.github.com/users/dkubb/followers","following_url":"https://api.github.com/users/dkubb/following{/other_user}","gists_url":"https://api.github.com/users/dkubb/gists{/gist_id}","starred_url":"https://api.github.com/users/dkubb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkubb/subscriptions","organizations_url":"https://api.github.com/users/dkubb/orgs","repos_url":"https://api.github.com/users/dkubb/repos","events_url":"https://api.github.com/users/dkubb/events{/privacy}","received_events_url":"https://api.github.com/users/dkubb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-28T05:52:13Z","updated_at":"2015-03-28T05:52:13Z","closed_at":null,"body":"See: https://github.com/datamapper/do/blob/master/do_jdbc/src/main/java/data_objects/Command.java#L324\r\n\r\nIn the above code the system checks if the error message is equal to \"query does not return results\". I'm seeing errors in DM's specs because the error is now being returned as \"Query does not return results\".\r\n\r\nLocally I made the following change:\r\n\r\n```diff\r\ndiff --git a/do_jdbc/src/main/java/data_objects/Command.java b/do_jdbc/src/main/java/data_objects/Command.java\r\nindex 6edac92..70be2bc 100644\r\n--- a/do_jdbc/src/main/java/data_objects/Command.java\r\n+++ b/do_jdbc/src/main/java/data_objects/Command.java\r\n@@ -321,7 +321,7 @@ public class Command extends DORubyObject {\r\n         } catch (SQLException sqle) {\r\n             // XXX sqlite3 jdbc driver happily throws an exception if the result set is empty :P\r\n             // this sets up a minimal empty reader\r\n-            if (sqle.getMessage().equals(\"query does not return results\")) {\r\n+            if (sqle.getMessage().toLowerCase().equals(\"query does not return results\")) {\r\n\r\n                 // pass the response to the Reader\r\n                 reader.resultSet = resultSet;\r\n```\r\n\r\nAnd it seemed to resolve the problem I was seeing in the specs.\r\n\r\nIf there's no problem with this kind of fix I can submit a PR with this change."}}