{"action":"created","issue":{"url":"https://api.github.com/repos/jdbi/jdbi/issues/166","labels_url":"https://api.github.com/repos/jdbi/jdbi/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/jdbi/jdbi/issues/166/comments","events_url":"https://api.github.com/repos/jdbi/jdbi/issues/166/events","html_url":"https://github.com/jdbi/jdbi/pull/166","id":104209545,"number":166,"title":"Throw appropriate exception in case of nested transactions","user":{"login":"BernhardBln","id":4759839,"avatar_url":"https://avatars.githubusercontent.com/u/4759839?v=3","gravatar_id":"","url":"https://api.github.com/users/BernhardBln","html_url":"https://github.com/BernhardBln","followers_url":"https://api.github.com/users/BernhardBln/followers","following_url":"https://api.github.com/users/BernhardBln/following{/other_user}","gists_url":"https://api.github.com/users/BernhardBln/gists{/gist_id}","starred_url":"https://api.github.com/users/BernhardBln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernhardBln/subscriptions","organizations_url":"https://api.github.com/users/BernhardBln/orgs","repos_url":"https://api.github.com/users/BernhardBln/repos","events_url":"https://api.github.com/users/BernhardBln/events{/privacy}","received_events_url":"https://api.github.com/users/BernhardBln/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T08:04:40Z","updated_at":"2015-09-02T22:53:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jdbi/jdbi/pulls/166","html_url":"https://github.com/jdbi/jdbi/pull/166","diff_url":"https://github.com/jdbi/jdbi/pull/166.diff","patch_url":"https://github.com/jdbi/jdbi/pull/166.patch"},"body":"* When making a call through several methods of a DAO, and more than one\r\nof those methods have a @Transaction annotation, an exception is thrown\r\nby certain databases (e.g. MySQL). \r\n\r\n* This exception, however, is not really clear and does not help to\r\ndetect the error.\r\n\r\n* Since nested transactions are not supported by JDBI at the moment,\r\nthrow a TransactionException with a more meaninful error message.\r\n\r\nFixes #165"},"comment":{"url":"https://api.github.com/repos/jdbi/jdbi/issues/comments/137267031","html_url":"https://github.com/jdbi/jdbi/pull/166#issuecomment-137267031","issue_url":"https://api.github.com/repos/jdbi/jdbi/issues/166","id":137267031,"user":{"login":"stevenschlansker","id":129097,"avatar_url":"https://avatars.githubusercontent.com/u/129097?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenschlansker","html_url":"https://github.com/stevenschlansker","followers_url":"https://api.github.com/users/stevenschlansker/followers","following_url":"https://api.github.com/users/stevenschlansker/following{/other_user}","gists_url":"https://api.github.com/users/stevenschlansker/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenschlansker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenschlansker/subscriptions","organizations_url":"https://api.github.com/users/stevenschlansker/orgs","repos_url":"https://api.github.com/users/stevenschlansker/repos","events_url":"https://api.github.com/users/stevenschlansker/events{/privacy}","received_events_url":"https://api.github.com/users/stevenschlansker/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T22:53:50Z","updated_at":"2015-09-02T22:53:50Z","body":"OK, I agree with you -- removing the test is the correct move, assuming that this is the behavior we want.  If you update that it'll be good by me, but I want signoff from another committer on such a fundamental change before merging.  Thanks again."}}