{"action":"created","issue":{"url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/30","repository_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc","labels_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/30/comments","events_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/30/events","html_url":"https://github.com/zsoltherpai/fluent-jdbc/issues/30","id":159704330,"number":30,"title":"plainConnection doesn't support SQLException","user":{"login":"weisebrazil","id":1894080,"avatar_url":"https://avatars.githubusercontent.com/u/1894080?v=3","gravatar_id":"","url":"https://api.github.com/users/weisebrazil","html_url":"https://github.com/weisebrazil","followers_url":"https://api.github.com/users/weisebrazil/followers","following_url":"https://api.github.com/users/weisebrazil/following{/other_user}","gists_url":"https://api.github.com/users/weisebrazil/gists{/gist_id}","starred_url":"https://api.github.com/users/weisebrazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weisebrazil/subscriptions","organizations_url":"https://api.github.com/users/weisebrazil/orgs","repos_url":"https://api.github.com/users/weisebrazil/repos","events_url":"https://api.github.com/users/weisebrazil/events{/privacy}","received_events_url":"https://api.github.com/users/weisebrazil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"zsoltherpai","id":2029253,"avatar_url":"https://avatars.githubusercontent.com/u/2029253?v=3","gravatar_id":"","url":"https://api.github.com/users/zsoltherpai","html_url":"https://github.com/zsoltherpai","followers_url":"https://api.github.com/users/zsoltherpai/followers","following_url":"https://api.github.com/users/zsoltherpai/following{/other_user}","gists_url":"https://api.github.com/users/zsoltherpai/gists{/gist_id}","starred_url":"https://api.github.com/users/zsoltherpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsoltherpai/subscriptions","organizations_url":"https://api.github.com/users/zsoltherpai/orgs","repos_url":"https://api.github.com/users/zsoltherpai/repos","events_url":"https://api.github.com/users/zsoltherpai/events{/privacy}","received_events_url":"https://api.github.com/users/zsoltherpai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/milestones/15","html_url":"https://github.com/zsoltherpai/fluent-jdbc/milestones/1.3.3","labels_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/milestones/15/labels","id":1819672,"number":15,"title":"1.3.3","description":null,"creator":{"login":"zsoltherpai","id":2029253,"avatar_url":"https://avatars.githubusercontent.com/u/2029253?v=3","gravatar_id":"","url":"https://api.github.com/users/zsoltherpai","html_url":"https://github.com/zsoltherpai","followers_url":"https://api.github.com/users/zsoltherpai/followers","following_url":"https://api.github.com/users/zsoltherpai/following{/other_user}","gists_url":"https://api.github.com/users/zsoltherpai/gists{/gist_id}","starred_url":"https://api.github.com/users/zsoltherpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsoltherpai/subscriptions","organizations_url":"https://api.github.com/users/zsoltherpai/orgs","repos_url":"https://api.github.com/users/zsoltherpai/repos","events_url":"https://api.github.com/users/zsoltherpai/events{/privacy}","received_events_url":"https://api.github.com/users/zsoltherpai/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-06-10T10:25:43Z","updated_at":"2016-06-10T21:48:28Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-06-10T19:21:56Z","updated_at":"2016-06-13T18:05:45Z","closed_at":"2016-06-10T21:47:21Z","body":"When I wrote some plainConnection, the Functional doesn't support any exception. So, I always throw a new RuntimeExpection. I Believe the functional supports at least SQLException.\r\n\r\nExample:\r\n```\r\nquery.plainConnection(con -> {\r\n    try(CallableStatement cs = con.prepareCall(\"{call commandSQL}\")){\r\n        return cs.execute();\r\n    } catch(SQLException e){\r\n        throw new RuntimeException(e);\r\n    }\r\n});\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/comments/225661081","html_url":"https://github.com/zsoltherpai/fluent-jdbc/issues/30#issuecomment-225661081","issue_url":"https://api.github.com/repos/zsoltherpai/fluent-jdbc/issues/30","id":225661081,"user":{"login":"zsoltherpai","id":2029253,"avatar_url":"https://avatars.githubusercontent.com/u/2029253?v=3","gravatar_id":"","url":"https://api.github.com/users/zsoltherpai","html_url":"https://github.com/zsoltherpai","followers_url":"https://api.github.com/users/zsoltherpai/followers","following_url":"https://api.github.com/users/zsoltherpai/following{/other_user}","gists_url":"https://api.github.com/users/zsoltherpai/gists{/gist_id}","starred_url":"https://api.github.com/users/zsoltherpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsoltherpai/subscriptions","organizations_url":"https://api.github.com/users/zsoltherpai/orgs","repos_url":"https://api.github.com/users/zsoltherpai/repos","events_url":"https://api.github.com/users/zsoltherpai/events{/privacy}","received_events_url":"https://api.github.com/users/zsoltherpai/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T18:05:45Z","updated_at":"2016-06-13T18:05:45Z","body":"Sorry, that was a mistake on my part. I'm also starting to have doubts about using groovy for unit testing a library. These kind of issues slip in easier.\r\n\r\n1.3.4 is on it's way to maven central with the fix. It'll work as expected in your example code.\r\n"}}
{"actor":{"display_login":"zsoltherpai"}}